Comments (4)
I am receiving the same errors and stack traces as @tribalchicken on the new El Capitan profiles. When I make my own profile using the Mac wiki instructions I also run into a different issue. I'm getting "object of type 'int' has no len()". Given the 'int' object has no attribute 'getitem' in the repo and then len() being run on an int, I'm guessing something in the profile creation process is messing up creating the vtypes and an int is being created in a place a list is expected.
from profiles.
Going off of that hunch I diffed a working Yosemite profile from the repo with the profile I created and I found entries like this all over the file:
< 'soi_so': [0x88, ['unsigned long long']],
< 'soi_pcb': [0x90, ['unsigned long long']],
< 'soi_type': [0x98, ['int']],
< 'soi_protocol': [0x9c, ['int']],
< 'soi_family': [0xa0, ['int']],
< 'soi_options': [0xa4, ['short']],
< 'soi_linger': [0xa6, ['short']],
< 'soi_state': [0xa8, ['short']],
< 'soi_qlen': [0xaa, ['short']],
< 'soi_incqlen': [0xac, ['short']],
< 'soi_qlimit': [0xae, ['short']],
< 'soi_timeo': [0xb0, ['short']],
< 'soi_error': [0xb2, ['unsigned short']],
< 'soi_oobmark': [0xb4, ['unsigned int']],
---
> 'soi_so': [0x88, 0],
> 'soi_pcb': [0x90, 0],
> 'soi_type': [0x98, 0],
> 'soi_protocol': [0x9c, 0],
> 'soi_family': [0xa0, 0],
> 'soi_options': [0xa4, 0],
> 'soi_linger': [0xa6, 0],
> 'soi_state': [0xa8, 0],
> 'soi_qlen': [0xaa, 0],
> 'soi_incqlen': [0xac, 0],
> 'soi_qlimit': [0xae, 0],
> 'soi_timeo': [0xb0, 0],
> 'soi_error': [0xb2, 0],
> 'soi_oobmark': [0xb4, 0],
I found out that the following 3 types had the wrong type declarations in the El Captain repo profiles:
'IOExternalAsyncMethod': [ 0x30, {
'object': [0x0, ['pointer', ['IOService_class']]],
'func': [0x8, 0],
'flags': [0x18, ['unsigned int']],
'count0': [0x20, ['unsigned long long']],
'count1': [0x28, ['unsigned long long']],
}],
'IOExternalTrap': [ 0x18, {
'object': [0x0, ['pointer', ['IOService_class']]],
'func': [0x8, 0],
}],
'IOExternalMethod': [ 0x30, {
'object': [0x0, ['pointer', ['IOService_class']]],
'func': [0x8, 0],
'flags': [0x18, ['unsigned int']],
'count0': [0x20, ['unsigned long long']],
'count1': [0x28, ['unsigned long long']],
}],
By looking at previous declarations for this type I determined that func should have been:
'func': [0x8, ['BitField', {'end_bit': -18446744073709551488L, 'start_bit': -18446744073709551616L}]],
I've patched them for the 3 El Capitan profiles and will be submitting a pull request shortly.
from profiles.
I can confirm the patched vtypes do indeed seem to resolve the issue. Thanks, @williamshowalter
from profiles.
Thanks guys, nice work. @atcuno will factor this into the profile generation script in the future.
from profiles.
Related Issues (20)
- Request: Need profile for HighSierra_10.13.4_17E199 HOT 1
- Add support for arm based linux memory analysis HOT 4
- No Suitable Address space mapping Found
- Error when building Linux profile HOT 1
- Linux Profile Builder
- Request: Need profile for macOS 10.14.3 (18D109) | Mojave HOT 2
- Profile created for macOS 10.11.6_15G31x64 does not work HOT 1
- Which profile should I use? HOT 1
- Win10 Issue
- Unable to run vol.py plugins for "Ubuntu 16.04.6" target
- Profile for catalinas
- Im using version 2.6 on Windows 10 and Kali to get a dump file but I always get the message "Unable to read pages for task"
- How to create a profile outside of a running system?
- Volatility fails with traceback on Linux (possible profile issue) HOT 2
- Problem parsing Red Hat 7.6 vmem image with custom built profile
- AddrSpaceError with Ubuntu 18.04.3x64 profile on Ubuntu 18.04.3 - 4.15.0-55-generic
- Suitable for volatility3? HOT 1
- Ubuntu 21.04 Profile
- macOS Monterey
- I hope to contribute to the project
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 profiles.