-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcommit.txt
More file actions
60 lines (52 loc) · 2.4 KB
/
commit.txt
File metadata and controls
60 lines (52 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Fix critical bugs and enable anti-debugging protection
This commit addresses multiple issues found during code review and
activates the anti-debugging security feature that was previously
disabled.
SECURITY ENHANCEMENTS:
* Enable ptrace-based anti-debugging checks in unpacking stub
- Detects debugger attachment at runtime
- Exits silently (code 4) when debugger detected
- Significantly increases reverse engineering difficulty
BUG FIXES:
* Remove duplicate logging code block in organull.py (lines 302-317)
- Eliminated redundant parameter logging and stub data output
* Add missing 'cryptography' dependency to requirements.txt
- Required by crypto_engine.py but not listed in dependencies
* Fix all test key materials to be exactly 32 bytes
- test_generate_mask_basic: Corrected key length
- test_generate_mask_different_index: Corrected key length
- test_generate_mask_different_key: Changed to simpler distinct keys
- test_generate_mask_length_boundary: Corrected key length
- test_generate_mask_length_too_large: Corrected key length
* Fix import statement in tests/run_packer_test.py
- Changed from 'from organull import packer' to 'from organull import pack_binary'
- Updated function call to match new import
TEST IMPROVEMENTS:
* Add automatic chmod +x to packed binary in integration tests
- Resolves permission denied errors when executing packed binaries
* All CA engine unit tests now passing (5/5)
* Integration tests verified working on x86-64 Linux
DOCUMENTATION:
* Create comprehensive CLAUDE.md for AI-assisted development
- Documents architecture, component interaction, and critical details
- Provides development commands and platform requirements
- Explains design decisions and security context
* Update README.md with recent updates section
- Documents all bug fixes and security enhancements
- Highlights active anti-debugging protection
- Lists testing improvements and verification status
TESTING VERIFICATION:
- Assembly stub compiles successfully (debug & release modes)
- CA engine tests: 5/5 passing
- Crypto engine tests: functional
- Integration test: packer creates valid binaries
- Anti-debugging: verified active in compiled stub
Files modified:
- organull/organull.py
- organull/complete_unpacking_stub.s
- requirements.txt
- tests/test_ca_engine.py
- tests/run_packer_test.py
- README.md
Files added:
- commit.txt