[BUG] "IOCTL Decode All" is missing some cases
VoidSec opened this issue · 0 comments
VoidSec commented
In
DriverBuddyReloaded/DriverBuddyReloaded.py
Line 179 in d272537
"IOCTL Decode All" function is missing some cases as can be shown in the following image:
The only immediate fix I can think of is reworking the heuristic functionality:
- processing the entire block for
cmp, mov, sub
operations - checking that the immediate operand has 10 digits
- excluding
NTSTATUS
values - decoding the suspected IOCTL code
Will probably generate some more false positives but it will cover "switch" cases falling into "default" case and such