Commit Graph
5288 Commits
Author SHA1 Message Date
Mike Auty 918452f067 Remove deprecated volatile property in favour of the helper-prefixed property namespace. 2017-11-08 11:40:45 +00:00
Mike Auty 497f0f4950 Registry node with RI signature are effectively _CM_KEY_INDEX, just with single item elements. 2017-11-08 11:40:17 +00:00
Mike Auty 2db214e2f8 Ensure we appropriately truncate unicode strings. 2017-11-08 01:00:53 +00:00
Mike Auty 7c6970212f Fix recursion (it wasn't being passed the argument). 2017-11-08 01:00:15 +00:00
Mike Auty ba9ed5e3eb Add minor comments about the jar uri scheme. 2017-11-08 00:13:26 +00:00
Mike Auty f3f68e34cf Change exception output to not have so many spaces. 2017-11-06 10:35:08 +00:00
Mike Auty bbae34f1d5 Attempt to resolve issues with <python-3.6 json module not loading bytes. 2017-11-06 10:09:44 +00:00
Mike Auty adfc1f889a Add a comment about caching files that have been unzipped. 2017-11-06 00:48:33 +00:00
Mike Auty 3a215c185e Ensure the linux caching happens early, so the user doesn't have to run it twice. 2017-11-06 00:17:30 +00:00
Mike Auty c0e2d7499a Ensure that magic isn't a hard dependency.
We rely on file extensions, but if we throw an Exception on a bad file
extension then it's not really our fault.
2017-11-05 22:46:24 +00:00
Mike Auty 71d938d78b Add in support for looking for symbols in zip files.
We use the jar scheme because that's actually registered with the right
bodies, even if the syntax is a bit weird.  The contents is still
processed by the ResourceAccessor meaning it can be compressed with any
of the supported compression methods.
2017-11-05 22:29:46 +00:00
Mike Auty a21d0c174a Fix the magic detection and add logging to the ResourceAccessor. 2017-11-05 22:29:37 +00:00
Mike Auty b6d932f4a5 Refactor the ResourceAccessor because it isn't an interface.
It's not strictly limited to layers either, but I don't really want to
create a whole extra generic file to put this in, so layers will do.
2017-11-05 21:27:56 +00:00
Mike Auty f6ac9c8367 Remove a no longer used function, so it doesn't get stuck in the API forever. 2017-11-05 15:28:38 +00:00
Mike Auty 671f65ed56 Centralize the ISF locating code.
This might benefit from a recache of the linux banners, although it
should continue to work no recache is performed.

We're now in a position to add support for loading symbols directly from
zip files by altering the ResourceAccessor and adding code to the
symbol finder.
2017-11-05 15:18:20 +00:00
Mike Auty fd582f62e2 Fix a potential exception when earlier automagics don't succeed. 2017-11-04 18:54:52 +00:00
Mike Auty 585ec3f72d Change the way plugin failures are reported. 2017-11-04 18:54:23 +00:00
Mike Auty 9d7d547667 Minor linting. 2017-11-04 18:45:18 +00:00
Mike Auty a4b4a8eed3 Improve the error handling with automagics. 2017-11-04 18:45:08 +00:00
Mike Auty 8166b0cc96 Add better logging around the stacker. 2017-11-04 17:13:01 +00:00
Mike Auty d9d67efa3a Add in the capability to stash linux_banners.
Since the stacker and Linux automagic will always be different objects
(even if they're the same class), and we don't want to add OS specific
code to the stacker, this is the simplest way of allowing the Linux
symbol automagic to get information from the dtb finding stacker.
2017-11-04 17:09:59 +00:00
Mike Auty dab5caf104 Paths from the banner cache are already URIs, so we don't need to reconvert them. 2017-11-04 15:52:02 +00:00
Mike Auty 01043b9f3e Rework isf_filename to isf_url since we can load it from a remote location if required. 2017-11-04 15:47:52 +00:00
Mike Auty 4b7543f2f4 Unify the resource opening. 2017-11-02 21:46:39 +00:00
Mike Auty dbc73df8f2 Make sure we support windows filenames
Consider refactoring out the various URL openning code into
one that just returns the open file handle.  This would require changing
the config option of "filename" to "location" and rejigging a few other
bits elsewhere, but would centralize and make it more managable.
2017-11-02 11:56:03 +00:00
Mike Auty 5ef65d6d38 Remove the ntkrnlmp name and use ntsymbols instead. 2017-11-01 21:23:44 +00:00
Mike Auty c1f16c412f Add in boolean option fix. 2017-10-23 17:11:36 +01:00
Mike Auty 28036c9405 Add in the ability to recurse keys (off by default). 2017-10-23 17:11:15 +01:00
Mike Auty 5d2b0f9004 Add in support for determining if a key is volatile. 2017-10-23 17:09:25 +01:00
Mike Auty f085c9d2e3 Use a _CELL_DATA directly, rather than the eronious construction of a _CM_CACHED_VALUE_INDEX. 2017-10-09 01:41:08 +01:00
Mike Auty c09ce60f73 Support the new HMAP_ENTRY structure for Win10. 2017-10-09 01:40:37 +01:00
Mike Auty 3f70ee92be Improve the debugging output for unknown registry node signatures. 2017-10-09 00:54:02 +01:00
Mike Auty 587b6e9d9e Add back in the deprecated helper for _CMHIVE. 2017-10-09 00:20:32 +01:00
Mike Auty d6235325f9 Make changes according to the deprecations. 2017-10-09 00:19:05 +01:00
Mike Auty 957fa23af2 Move the registry plugin to an appropriate location. 2017-10-09 00:19:05 +01:00
Mike Auty 930c8a2e08 Make the registry test plugin work with keys and offset parameters. 2017-10-09 00:19:05 +01:00
Mike Auty a12246a423 Shift the order of the columns. 2017-10-09 00:19:05 +01:00
Mike Auty b8f545633d Ensure we do logging rather than printing. 2017-10-09 00:19:05 +01:00
Mike Auty 6c0d98ba1b Improve registry value handling. 2017-10-09 00:19:05 +01:00
Mike Auty 4fb24985eb Add in standard registry walking to the regtest plugin. 2017-10-09 00:19:05 +01:00
Mike Auty 023598a582 Additional improvements to the registry layer and cell/node handling. 2017-10-09 00:19:05 +01:00
Mike Auty 042ff5ca25 Use .vol.count for consistency. 2017-10-09 00:19:05 +01:00
Mike Auty 38b6e12ec5 Minor changes to the testrig. 2017-10-09 00:19:05 +01:00
Mike Auty fadb421331 Improve the support for signatures of cells. 2017-10-09 00:19:05 +01:00
Mike Auty 757837633f Make sure we don't lose volatile bit for members. 2017-10-09 00:19:05 +01:00
Mike Auty 7a093ad4c4 Move the registry types to their own location. 2017-10-09 00:19:05 +01:00
Mike Auty 0f1e84139f Remove the extra regtest plugin. 2017-10-09 00:18:15 +01:00
Mike Auty 27e5dbfcc6 Add in testing plugin temporarily. 2017-10-09 00:18:15 +01:00
Mike Auty 19d66bd063 Add in current work in progress. 2017-10-09 00:18:15 +01:00
Mike Auty f538319d7c Add a little more code to the registry layer.
Really need to figure out how to deal with _HBIN and _HCELL for
systems that don't have those structures.  The format seems extremely
unlikely to change, but better not to hard code anything if avoidable.
2017-10-09 00:18:15 +01:00