Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] MFT DataStreams Field Appears Cut Off for SmartScreen #211

Open
reece394 opened this issue Dec 28, 2024 · 1 comment
Open

[Bug] MFT DataStreams Field Appears Cut Off for SmartScreen #211

reece394 opened this issue Dec 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@reece394
Copy link
Contributor

reece394 commented Dec 28, 2024

Thanks @FranticTyping for #210. This will be super useful for creating hunting rules. When testing it with hunt mode I noticed with the SmartScreen ADS it outputs in stream data "Anahe" instead of "Anaheim". The Zone.Identifier one appears okay correctly outputting ZoneId=3 including the correct URL information. Uploaded is the output of PowerShell and Mft2Csv extracting the full string out to prove the string is fully present. To reproduce download Advanced IP Scanner with Microsoft Edge (Chromium) and SmartScreen/ Microsoft Defender SmartScreen in Edge settings enabled.

- stream_name: SmartScreen
  stream_data: "\0\0Anahe"
  stream_number: 0
- stream_name: Zone.Identifier
  stream_data: "\0\0[ZoneTransfer]\r\nZoneId=3\r\nReferrerUrl=https://www.advanced-ip-scanner.com/\r\nHostUrl=https://download.advanced-ip-scanner.com/download/files/Advanced_IP_Scanner_2.5.4594.1.exe"
  stream_number: 1
Get-Content '.\Advanced_IP_Scanner_2.5.4594.1 (1).exe' -Stream Smartscreen
Anaheim

image

@FranticTyping FranticTyping self-assigned this Dec 28, 2024
@FranticTyping FranticTyping added the bug Something isn't working label Dec 28, 2024
@FranticTyping
Copy link
Collaborator

Hmm, interesting. Thanks for the report.

I can replicate the bug on my end, and it looks like the issue exists in the underlying MFT parsing library we use. I'm away for the next week or so but then I can take a look!

Please do let me know if you experience any other bugs with the new MFT parsing features, I only had a small dataset to set with so some bits might have slipped by.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants