Commit Graph
379 Commits
Author SHA1 Message Date
Janandikelos e05c54db8d adds proper type hints for two methods 2020-08-24 19:03:28 +01:00
Janandikelos 46b5e29500 adds netscan plugin, network objects extension and symbol JSONs 2020-08-24 19:03:28 +01:00
Mike Auty 807614aa45 Windows: Run yapf over recent lsadump/cachedump plugins 2020-08-23 21:57:57 +01:00
Jack Wengerandikelos 20e4df0bf6 fixed issues 2020-08-23 21:32:27 +01:00
Jack Wengerandikelos cd78958161 Fixed requested issues 2020-08-23 21:32:27 +01:00
Jack Wengerandikelos 9b8bdc2eab added cachedump and lsadump 2020-08-23 21:32:27 +01:00
Jack Wengerandikelos 862267695a Added documentation and logging 2020-08-23 21:32:27 +01:00
Jack Wengerandikelos e3c1871da2 added hashdump 2020-08-23 21:32:27 +01:00
Jack Wengerandikelos 0865187f51 Fixed requested issues 2020-08-23 21:32:27 +01:00
Jack Wengerandikelos 4bcb339df8 added cachedump and lsadump 2020-08-23 21:32:27 +01:00
Jack Wengerandikelos c0942146af Added documentation and logging 2020-08-23 21:32:27 +01:00
Jack Wengerandikelos 53c36d91c3 added hashdump
Added documentation and logging

added cachedump and lsadump

Fixed requested issues

fixed encoding issues

added requirement

Framework: Move cache_clear function to the framework

Documentation: Document self.config slightly better

Linux/Mac: Refactor *nix Utilities classes

Automagic: Fix issue in recent refactor

Add elf parsing and symbol retrieval for linux kernel modules

Fixes on coding style

Linux: Restore accidentally dropped kobject definition

Core: Rerun yapf across the codebase.

First attempt and better DTB and ASLR validation. Debugging statements left in.

Mac: Stash the verified ASLR shift and improve logging

Linux: Support stashing the KASLR

Remove extra debug prints

added hashdump

Added documentation and logging

Linux - stash the Linux kernel virtual address

Hashdump: Reformat and convert to proper byte handling

Registry: Fix error message

Caching: Only cache remote files

Yarascan: Move most of yarascanning into a versionable plugin

This refactors common yara tasks, so we can use the plugin versioning to
keep track of changes to the YaraScanner class.

Core: Refactor versioning and associated requirements

Configuration: Improve the VersionableInterface documentation

Plugins: Remove unnecessary dependency for yarascan

Objects: Add a convenience function for validating enum values

Objects: Update enumeration method to is_valid_choice

Core: Maintain 3.5.3 compatibility

created tty_check.py; edited automagic/linux.py to add kernel tracking abilities

fixed some formatting for tty_check.py

Fixed tty_check not finding the ttyhook module

added some documentation

Removed unnecessary code from tty_check.py

added docs to automagic methods, fixed missing return types, changed parameters to be more specific

added kernel string to linux constants file; changed automagic methods so that they reconstruct the kernel object within the method for consistancy with other methods

added parameter type to generate_kernel_handler_info

Updated imports to reflect new location of utility class; plugins are no longer outputing anything so commiting for Andrew to take a look at

removed debugging print statements

fixed bug causing no output when tty_check is run

Windows.info: Refactor windows.info as classmethods

Linux: Fix plugin case and re-run yapf

created keyboard_notifiers

removed extra whitespace

Yapf: Minor reformats for recent plugins

Codebase: Ensure all conversions to bytes handle unicode

All conversions using `latin-1` have been converted to
`raw_unicode_escape` which is like `latin-1`, but handles unicode
characters appropriately (with a `\u` prefix).

Since this is like `latin-1` it should have no impact on things that ran
previously, but those that would fail with a unicode error now will
present an encoded unicode string.  There may be situations where the
binary representation of unicode would be better (timeliner file
output?), but those can be changed when/if it's determined necessary.

Fixes #274.

Linux: Fix keyboard_notifiers copyright year

Renderers: Fix the pretty renderer when no rows are emitted

Timeliner: Sort results and provide a filter

Sorts the results (as stated).  Note that user interfaces may decide to
sort their results in an order of their choosing.

Also added a parameter that can be provided multiple times to only allow
plugins that match (any of) the parameters provided.

Timeliner: Actually make use of the TextIoWrapper

Windows: Add a version to the info plugin now its got classmethods

CLI: Add additional help about 'vol.py plugin --help'

created linux_check_idt; plugin currently is not finding the module names for each entry in idt table

fix copyright year

fixed poor variable name, removed unnecessary code

added address mask to fix issue with kernel tracking

CLI: Revert epilog changes

Update lsadump.py

I'm not sure why your are getting this error since it works fine for me, but this may fix it
2020-08-23 21:32:27 +01:00
Mike Auty 189b9579c9 Windows: docstring typo 2020-08-22 23:10:44 +01:00
Mike Auty c29c82671a Windows: Further poolscanner fixes before it gets used elsewhere 2020-08-22 23:10:18 +01:00
Mike Auty 482f6a3307 Windows: Ensure all poolscanner API is public
Remove the "protected" _ since other plugins may want to use it.
At the moment we're the only consumer, so not bumping the version number
of this (since it would be a major version number change), but we'll
need to be careful of this in the future.
2020-08-22 22:50:14 +01:00
Mike Auty 3014193587 Windows: Fix poolscanner typo 2020-08-22 22:47:51 +01:00
Dave Lassalleandikelos f0bc947bba add a comment about the pool header class type matching the kernel 2020-08-22 22:27:46 +01:00
Dave Lassalleandikelos 09ca2ecb40 issue #306 - _POOL_HEADER class based on OS 2020-08-22 22:27:46 +01:00
Mike Auty 73f3c217bd Mac/Linux: Remove unnecessary imports 2020-08-18 09:15:13 +01:00
Mike Auty 90d347714c Mac: Correct patch ordering 2020-08-18 09:10:16 +01:00
Mike Auty 9b57d7a58c Plugins: Version Mac/LinuxUtilities classes 2020-08-18 09:07:32 +01:00
Mike Auty 8e420cbe62 Core: Multiple typing fixes across the tree 2020-08-16 22:22:24 +01:00
AsafEitaniandikelos 377b8842b9 Update strings.py 2020-08-16 17:51:13 +01:00
AsafEitaniandikelos cbe31999b1 Update strings.py 2020-08-16 17:51:13 +01:00
Andrew Caseandikelos 5734562997 Add mac.mount plugin 2020-08-14 22:43:52 +01:00
Mike Auty 15da1f5253 Plugins: Update pidlist_pid_hash_table to a pslist method 2020-08-14 22:39:40 +01:00
Andrew Caseandikelos b976a57920 add pslist_pid_hash_table 2020-08-14 22:39:40 +01:00
Mike Auty 833cfc5607 Plugins: Update the docstring for pslist_sessions code 2020-08-14 22:30:34 +01:00
Mike Auty 08b8564802 Plugins: Update pslist_sessions to be a different process lister 2020-08-14 22:30:34 +01:00
Andrew Caseandikelos 93e16a7151 add pslist_sessions plugin 2020-08-14 22:30:34 +01:00
Mike Auty 595a94304d Strings: Small bugfix as pointed out by AsafEitani 2020-08-13 10:32:56 +01:00
Mike Auty f3fd67abb2 Plugins: Update the recent plugins copyright date. 2020-08-12 22:37:47 +01:00
Mike Auty 289afd504b Plugins: Minor clarifications and cleanups 2020-08-12 21:00:24 +01:00
Steffi Keeneandikelos 76d6764e81 cleanups 2020-08-12 20:56:15 +01:00
Steffi Keeneandikelos 5166bcbe95 Memdump and memmap running/tested with grrcon-0a7030d.imh 2020-08-12 20:56:15 +01:00
Steffi Keeneandikelos 2e765c7d70 working with grrcon- 2020-08-12 20:56:15 +01:00
Steffi Keeneandikelos 1c58043004 memdump running but not tested 2020-08-12 20:56:15 +01:00
Steffi Keeneandikelos 1472048b41 testing memmap 2020-08-12 20:56:15 +01:00
AsafEitaniandikelos f7b456a703 Update strings.py 2020-08-12 14:57:57 +01:00
AsafEitaniandikelos 67c515f38d Improved strings efficiency
1. Replaced readlines() with readline() to prevent loading the entire strings file to memory all at once.
2. Added process callback to indicate the progression.
3. Converted the re.compile of strings parse_line to global in order to prevent compilation for each line.
4. Changed the regex to not include the trailing newline (\n)
2020-08-12 14:57:57 +01:00
Matt Tresslerandikelos 2467e3986d added address mask to fix issue with kernel tracking 2020-08-06 18:12:42 +01:00
Matt Tresslerandikelos eb2d7715ce fixed poor variable name, removed unnecessary code 2020-08-06 18:12:42 +01:00
Matt Tresslerandikelos 8f7171ac5f fix copyright year 2020-08-06 18:12:42 +01:00
Matt Tresslerandikelos d7619d6170 created linux_check_idt; plugin currently is not finding the module names for each entry in idt table 2020-08-06 18:12:42 +01:00
Mike Auty 0b392f5186 Windows: Add a version to the info plugin now its got classmethods 2020-08-05 11:47:04 +01:00
Mike Auty 2166834d87 Timeliner: Actually make use of the TextIoWrapper 2020-08-03 20:36:40 +01:00
Mike Auty cbea698ab0 Timeliner: Sort results and provide a filter
Sorts the results (as stated).  Note that user interfaces may decide to
sort their results in an order of their choosing.

Also added a parameter that can be provided multiple times to only allow
plugins that match (any of) the parameters provided.
2020-08-03 20:13:25 +01:00
Mike Auty a339fd0783 Linux: Fix keyboard_notifiers copyright year 2020-08-03 17:05:41 +01:00
Mike Auty 556c880c90 Codebase: Ensure all conversions to bytes handle unicode
All conversions using `latin-1` have been converted to
`raw_unicode_escape` which is like `latin-1`, but handles unicode
characters appropriately (with a `\u` prefix).

Since this is like `latin-1` it should have no impact on things that ran
previously, but those that would fail with a unicode error now will
present an encoded unicode string.  There may be situations where the
binary representation of unicode would be better (timeliner file
output?), but those can be changed when/if it's determined necessary.

Fixes #274.
2020-08-03 16:53:48 +01:00
Mike Auty ff32383f82 Yapf: Minor reformats for recent plugins 2020-08-03 16:33:10 +01:00