Code Monkey home page Code Monkey logo

monnappa22 / hollowfind Goto Github PK

View Code? Open in Web Editor NEW
127.0 127.0 31.0 4 KB

Hollowfind is a Volatility plugin to detect different types of process hollowing techniques used in the wild to bypass, confuse, deflect and divert the forensic analysis techniques. The plugin detects such attacks by finding discrepancy in the VAD and PEB, it also disassembles the address of entry point to detect any redirection attempts and also reports any suspicious memory regions which should help in detecting any injected code.

Python 100.00%

hollowfind's People

Contributors

monnappa22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hollowfind's Issues

[error] UnboundLocalError: local variable 'proc_cmd_line' referenced before assignment

[enviroment]
win10
python2.7
volatility

[cmd]
PS D:\workspace\2013\Github\volatility-master\volatility-master> python27.exe .\vol.py -f D:\workspace\vms\windows_10_business_editions_version_1903_x64_dvd_e001dd2c.iso\windows_10_business_editions_version_1903_x64_dvd_e001dd2c.iso-6f11cc0a.vmem --profile=Win10x64_18362 hollowfind

Volatility Foundation Volatility Framework 2.6.1
Traceback (most recent call last):
File ".\vol.py", line 192, in
main()
File ".\vol.py", line 183, in main
command.execute()
File "D:\workspace\2013\Github\volatility-master\volatility-master\volatility\commands.py", line 147, in execute
func(outfd, data)
File "D:\workspace\2013\Github\volatility-master\volatility-master\volatility\plugins\hollowfind.py", line 206, in render_text
for (hol_proc_peb_info, hol_proc_vad_info, hol_pid, hol_type, similar_procs, parent_proc_info) in data:
File "D:\workspace\2013\Github\volatility-master\volatility-master\volatility\plugins\hollowfind.py", line 179, in calculate
self.update_proc_peb_info(psdata)
File "D:\workspace\2013\Github\volatility-master\volatility-master\volatility\plugins\hollowfind.py", line 50, in update_proc_peb_info
self.proc_peb_info[pid].extend([str(proc_cmd_line),
UnboundLocalError: local variable 'proc_cmd_line' referenced before assignment

Porting it to Rekall

Really love this plugin. Any chances if this will be ported to Rekall? Thanks.

AttributeError when running hollowfind

HollowFind plugin throws an error when ran against a memory dump.
Specifying a valid process id with the -p flag doesn't make any difference on the outputted error.

AttributeError: Struct _MMVAD_SHORT has no member ControlArea

image

UnboundLocalError: local variable 'proc_cmd_line' referenced before assignment

Wondering if I am missing something, or if this is a real bug?

$ sudo vol.py --plugins=/data/vol/plugins --profile=Win7SP1x86 -f memdump.mem hollowfind
Volatility Foundation Volatility Framework 2.5
Traceback (most recent call last):
File "/usr/local/bin/vol.py", line 4, in
import('pkg_resources').run_script('volatility==2.5', 'vol.py')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 742, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1497, in run_script
exec(code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/volatility-2.5-py2.7.egg/EGG-INFO/scripts/vol.py", line 192, in
main()
File "/usr/local/lib/python2.7/dist-packages/volatility-2.5-py2.7.egg/EGG-INFO/scripts/vol.py", line 183, in main
command.execute()
File "/usr/local/lib/python2.7/dist-packages/volatility-2.5-py2.7.egg/volatility/commands.py", line 147, in execute
func(outfd, data)
File "/data/vol/plugins/hollowfind.py", line 206, in render_text
for (hol_proc_peb_info, hol_proc_vad_info, hol_pid, hol_type, similar_procs, parent_proc_info) in data:
File "/data/vol/plugins/hollowfind.py", line 179, in calculate
self.update_proc_peb_info(psdata)
File "/data/vol/plugins/hollowfind.py", line 50, in update_proc_peb_info
self.proc_peb_info[pid].extend([str(proc_cmd_line),
UnboundLocalError: local variable 'proc_cmd_line' referenced before assignment
$

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.