Open segevrl opened 4 months ago
Is this a long value?
The type of the 'Blob' column is JET_coltypLongBinary
yes then you are getting a reference to a long key
Should I call get_value_data_as_long_value
in this case? It gives me an error:
>>> jobs_table.records[1].get_value_data_as_long_value(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: pyesedb_record_get_value_data_as_long_value: unable to retrieve long value: 1. libesedb_record_get_long_value_data_segments_list: unsupport long value key size: 8. libesedb_record_get_long_value: unable retrieve value data.
I'm trying to build a parser for the BITS database in Windows 10 using pyesedb. https://cloud.google.com/blog/topics/threat-intelligence/attacker-use-of-windows-background-intelligent-transfer-service/
I created a BITS job named "persistence", like the one in the Mandiant article above:
I exported the qmgr.db database after that: qmgr.zip I examined the database using this tool: https://github.com/wfraser/EseView, which uses Microsoft's ESENT Managed Interop library:
This is the 'Blob' column in the second row of the 'Jobs' table, as exported by this tool:
With pyesedb, I can get the GUID from this row, and it's the same. However, I don't get the same data from the 'Blob' column:
I get these bytes instead:
b'\x17\x00\x00\x80\x00\x00\x00\x80'
What could be the reason for this? Am I missing something? Thanks!