Skip to content

Xen0ph0n/XRayGlasses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

XRay Glasses

XRay is a quck script which was shared with me by someone who wished to remain annonymous. So this is being shared with no restrictions of any type. Hopefully it will be found to be useful. This has been implemented in the Moloch project to help visualize files and I've successfully leveraged this methodology to detect encoding methods in carrier docs and executable files.

The Idea being heuristic, visual, detection of packing methods utilized in advanced exploit laiden files and malware.

Usage

xray.py path/to/file.exe 

python xray.py ../pathtobadness/malcode.danger 
[+] XRay Codeimage complete: malcode___IMAGE.bmp

Output

Clearly visibile is the encoded payload, as evidenced by the nullspace displaying a gradient pattern:

Created from this exploit laden word doc containing a malcious back door: https://www.virustotal.com/en/file/E4B98573EB8E9EFBA28FEAABCF915600160E36EF3D8C40DA5E716E0A5EAEE6CD/analysis/

Image

About

Visualization of Encoded Maliciousness

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages