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

Stuck on parsing a malformed PE #16

Closed
hasherezade opened this issue Jul 12, 2022 · 0 comments
Closed

Stuck on parsing a malformed PE #16

hasherezade opened this issue Jul 12, 2022 · 0 comments
Labels

Comments

@hasherezade
Copy link
Owner

hasherezade commented Jul 12, 2022

Sample:

Parser gets stuck on parsing this sample.

The sample has an atypical section alignment:

    "sections_aligmnent": "0x1000",
    "file_aligmnent": "0x1",
"sections": [
    {
      "name": "mbw",
      "raw_offset": "0x200",
      "raw_size": "0x580",
      "virtual_offset": "0x1000",
      "virtual_size": "0x580",
      "characteristics": "0x60000020",
      "entropy": 5.525607716586443
    },
    {
      "name": "hm",
      "raw_offset": "0x780",
      "raw_size": "0x30e",
      "virtual_offset": "0x2000",
      "virtual_size": "0x30e",
      "characteristics": "0x40000040",
      "entropy": 4.876276356664052
    },
    {
      "name": "therk",
      "raw_offset": "0xa8e",
      "raw_size": "0x4c",
      "virtual_offset": "0x3000",
      "virtual_size": "0x4c",
      "characteristics": "0x42000040",
      "entropy": 4.720582776146015
    }
  ]

The sample loads fine with PE-bear 0.5.5.3.

  • The issue appeared starting from the commit: 3330039
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant