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

Does not work on stageless dll beacons #4

Open
CyberKaizen opened this issue Mar 4, 2021 · 5 comments
Open

Does not work on stageless dll beacons #4

CyberKaizen opened this issue Mar 4, 2021 · 5 comments

Comments

@CyberKaizen
Copy link

Just as I've stated above, we are getting and observing new dlls and this script no longer works.

@Kristal-g
Copy link
Contributor

Hi, I can't do much without a sample or some debug info. Can you provide one of these?

@drb-ra
Copy link

drb-ra commented Mar 12, 2021

Seeing some issues too with cases like this https://www.virustotal.com/gui/file/18a5324220f5f102a20006f58d0dd780614f84ab7a1cc5a08021bf90851ceda4/detection the issue seems to be the size of some fields as doubled, namely UserAgent, Get/PostMetaData

Possible fix below:

        data_offset = full_config_data.find(self.binary_repr())
        if data_offset < 0:
            self.length = self.length << 1
            data_offset = full_config_data.find(self.binary_repr())
            if data_offset < 0:
                return 'Not Found'

@CyberKaizen
Copy link
Author

CyberKaizen commented Mar 12, 2021 via email

@CyberKaizen
Copy link
Author

CyberKaizen commented Mar 12, 2021 via email

@drb-ra
Copy link

drb-ra commented Mar 13, 2021

Before when I uploaded it only 4 out of all the AV were able to detect this, but none saw this as Cobalt Strike. None of the open source yara rules the we had use or Cobalt Strike parser projects were able to process or detect it at the time https://www.virustotal.com/gui/file/4f3db89d47b7e68b45abffc7fea084cc85c87fbd72785884642fe04885c960c3/detection

Looking at the sample our issues are different. @Kristal-g please let me know if you want me to create a separate issue, or if you just rather take the details and fix from this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants