Obsolete
The two specialiced scanners Regin Scanner and Skeleton Key Scanner have been merged into a new generic IOC scanner called LOKI.
LOKI features a completely free IOC signature definition via different configuration files. It includes signatures for Regin, Skeleton Key and the recently published FiveEyes QUERTY malware mentioned in the Spiegel report released on 17.01.2015.
LOKI is free for private and commercial use and published under the GPL. He is the little brother of THOR, our full featured corporate APT Scanner.
ReginScanner
Scanner for Regin Backdoor
Detection is based on four detection methods:
-
File Name IOC Based on the reports published by Symantec and Kaspersky
-
Yara Ruleset Based on my rules published on pastebin: http://pastebin.com/0ZEWvjsC
-
SHA256 hash check Compares known malicious SHA256 hashes with scanned files
-
File System Scanner for Regin Virtual Filesystems based on .evt virtual filesystem detection by Paul Rascagneres, G DATA Reference: https://blog.gdatasoftware.com/blog/article/regin-an-old-but-sophisticated-cyber-espionage-toolkit-platform.html
The Windows binary is compiled with PyInstaller 2.1 and should run as x86 application on both x86 and x64 based systems.
Requirements
No requirements if you use the compiled EXE.
If you want to build it yourself:
- yara : It's recommended to use the most recent version of the compiled packages for Windows (x86) - Download it from here: http://goo.gl/PQjmsf
- scandir : faster alternative to os.walk()
- colorama : to color it up
Rule Base
The Yara rules published by Kaspersky are not bundled with this scanner. Extract them from the report and add them to the "regin_rules.yar" rule set to get better results. (Hint: Check the double quote signs " after copy&paste if errors occur) https://securelist.com/files/2014/11/Kaspersky_Lab_whitepaper_Regin_platform_eng.pdf
Usage
´´´ usage: regin-scanner.py [-h] [-p path] [--dots] [--debug]
Regin Scanner
optional arguments: -h, --help show this help message and exit -p path Path to scan --dots Print a dot for every scanned file to see the progress --debug Debug output ´´´
Screenshots
ReginScanner reports system as clean
ReginScanner with detections
Contact
Profile on Company Homepage http://www.bsk-consulting.de/author/froth/
Twitter @MalwrSignatures
If you are interested in a corporate solution for APT scanning, check: http://www.bsk-consulting.de/apt-scanner-thor/