Skip to content

use .NET libraries - #612

Merged
mr-tz merged 35 commits into
mandiant:masterfrom
johnk3r:master
Aug 29, 2022
Merged

use .NET libraries#612
mr-tz merged 35 commits into
mandiant:masterfrom
johnk3r:master

Conversation

@johnk3r

@johnk3r johnk3r commented Aug 23, 2022

Copy link
Copy Markdown
Contributor

Hello,

I'm creating this generic rule so we can discuss the best approach. I look forward to any recommendations/suggestions.

Closes #609

@mr-tz

mr-tz commented Aug 23, 2022

Copy link
Copy Markdown
Collaborator

Great, thanks a lot. What do you think of breaking these up into multiple rules?

  • use .NET library Costura.Fody
  • use .NET library SharpVectors
  • use .NET library Newtonsoft.Json
  • use .NET library EncryptDecryptUtils
  • use .NET library SharpClipboard

This allows us to identify 3rd party library usage more explicitly.

@mr-tz mr-tz changed the title Add files via upload use .NET libraries Aug 23, 2022

@mr-tz mr-tz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great start. A few suggestions and comments for discussion.

Comment thread nursery/load-suspicious-libraries.yml Outdated
Comment thread anti-analysis/obfuscation/use-dotnet-library-encryptdecryptutils.yml Outdated
Comment thread nursery/use-dotnet-library-newtonsoft.json.yml
Comment thread nursery/use-dotnet-library-newtonsoft.json.yml Outdated
rule:
meta:
name: use .NET library SharpVectors
namespace: nursery

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
namespace: nursery
namespace: data-manipulation/svg

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking for other input on this

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still TODO, nursery is not a "valid" namespace
@mike-hunhoff?

@mr-tz mr-tz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, we're getting close now!

Comment thread collection/use-dotnet-library-sharpclipboard.yml Outdated
Comment thread data-manipulation/json/use-dotnet-library-newtonsoftjson.yml Outdated
Comment thread data-manipulation/svg/use-dotnet-library-sharpvectors.yml Outdated
Comment thread data-manipulation/encryption/aes/use-dotnet-library-encryptdecryptutils.yml Outdated
Comment thread anti-analysis/obfuscation/use-dotnet-library-encryptdecryptutils.yml Outdated
rule:
meta:
name: use .NET library SharpVectors
namespace: nursery

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still TODO, nursery is not a "valid" namespace
@mike-hunhoff?

@mr-tz mr-tz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one last change to make authors a list, then GTG!

Comment thread executable/resource/embed-dependencies-as-resources-using-fodycostura.yml Outdated
@mr-tz
mr-tz merged commit 3f29890 into mandiant:master Aug 29, 2022
@mr-tz

mr-tz commented Aug 29, 2022

Copy link
Copy Markdown
Collaborator

Awesome, thanks a lot, @johnk3r!!!

saniyafatima07 pushed a commit to saniyafatima07/capa that referenced this pull request Jun 17, 2026
* Add files via upload

mandiant/capa-rules#609

* Update load-suspicious-libraries.yml

* Delete load-suspicious-libraries.yml

* Create load-suspicious-libraries.yml

* Update load-suspicious-libraries.yml

* Update load-suspicious-libraries.yml

* embed dependencies as resources using Fody/Costura

mandiant/capa-rules#612

* Delete embed-dependencies-as-resources-using-fody-costura.yml

* embed-dependencies-as-resources-using-fody-costura

mandiant/capa-rules#612

* Rename embed-dependencies-as-resources-using-fody-costura.yml to embed-dependencies-as-resources-using-fodycostura.yml

* use-dotnet-library-encryptdecryptutils

mandiant/capa-rules#612

* use-dotnet-library-newtonsoft.json

mandiant/capa-rules#612

* use-dotnet-library-sharpclipboard

mandiant/capa-rules#612

* use-dotnet-library-sharpvectors

mandiant/capa-rules#612

* Delete load-suspicious-libraries.yml

* Rename use-dotnet-library-newtonsoft.json.yml to use-dotnet-library-newtonsoftjson.yml

* Update use-dotnet-library-newtonsoftjson.yml

* Update use-dotnet-library-sharpvectors.yml

* Update use-dotnet-library-encryptdecryptutils.yml

* Update use-dotnet-library-sharpclipboard.yml

* Rename anti-analysis/obfuscation/use-dotnet-library-encryptdecryptutils.yml to data-manipulation/encryption/aes/use-dotnet-library-encryptdecryptutils.yml

* Rename nursery/use-dotnet-library-newtonsoftjson.yml to data-manipulation/json/use-dotnet-library-newtonsoftjson.yml

* Rename nursery/use-dotnet-library-sharpvectors.yml to data-manipulation/svg/use-dotnet-library-sharpvectors.yml

* Update use-dotnet-library-sharpclipboard.yml

* Update use-dotnet-library-newtonsoftjson.yml

* Update use-dotnet-library-sharpvectors.yml

* Update use-dotnet-library-encryptdecryptutils.yml

* Update use-dotnet-library-newtonsoftjson.yml

* Update use-dotnet-library-sharpvectors.yml

* Update use-dotnet-library-encryptdecryptutils.yml

* Update embed-dependencies-as-resources-using-fodycostura.yml

* Update use-dotnet-library-encryptdecryptutils.yml

* Update use-dotnet-library-sharpvectors.yml

* Update use-dotnet-library-newtonsoftjson.yml

* Update use-dotnet-library-sharpclipboard.yml
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

Successfully merging this pull request may close these issues.

Idea - Malicious Libraries in TRJ_BANKER

2 participants