Comments (6)
if this is an issue, then the shift attack and extension attack may be impacted
from secml_malware.
Is that before or after the extension of the header?
Because it must be that, since the PE is shifted for the case 2.
from secml_malware.
its before header extension. I just want to simply compare the three functions based on one input sample, to see if there are performing the same function.
By the way, your work truly inspired me about what I am working on. However, I am pretty new on this topic, probably a lots of questions, hope you don't mind. About the bool parameter "shift_values", it's always minus 1 when shift_values=True, what's the reason behind this?
Thank you so much!
from secml_malware.
Mmmh, strange.
Can you please tell me when this happens?
Because I can't find this in my tests.
The parameter shift_values
express is used for networks that adds one to the bytes (so, the embedding value is 0 instead of 256). In this way, when reading the byte of a program, it correctly maps it inside the correct space.
Happy that my work has inspired you 👍
from secml_malware.
I noticed that, if the second method, which in your program, is fed with integer (not the path), then the results of above three methods are consistent. While if feed a str (path) to second method, then the result is different with other two.
So I just keep the input consistent, should solve the issue.
And thanks for you explanation about the shift_values. that's smart!
from secml_malware.
Mmmmmh.
So, inside the library, everything works with integer lists.
Closing the issue now, but I'll have a look to LIEF (with your suggestion).
Btw, thank you for appreciating this work! :)
from secml_malware.
Related Issues (20)
- How to run lightGBM and SOREL model using secml_malware? HOT 2
- No data preprocessing for SorelNet? HOT 2
- Error while running the sample attack code from blackbox_tutorial.ipynb HOT 4
- real sample generation HOT 5
- can't attack EMBER model HOT 1
- Confidence on Microsoft Malware Classification Challenge HOT 10
- Differences Between WhiteBox Attacks HOT 7
- Adding support for QuoVadis models HOT 2
- AttributeError: 'NoneType' object has no attribute 'dos_header' HOT 4
- No such file or directory: 'secml_malware/data/malware_samples/test_folder' HOT 3
- lightGBM and SOREL model weights? HOT 1
- Support for ensemble models HOT 1
- SOREL ATTACK HOT 1
- CGammaSectionsEvasionProblem attack budget HOT 6
- FGSM Attacking Running for days HOT 1
- Train models HOT 5
- Fix numpy retrocompatibility for CClassifierEmber
- issue installing secml-malware with pip with python 3.12
- Wrong ember prediction
- GAMMA section injections might load sections at random
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secml_malware.