Vai al contenuto
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
meltedinhex/analyzing-webshellsReport e compliance

analyzing-webshells

⁨Analyzes suspected webshells (PHP, ASPX/ASP, JSP) by detecting dynamic-execution⁩

v1.0.03 installazioni+3 in 7 giorni24 StelleApache-2.0sincronizzato 10 ore fa

Installa

Non hai ancora la CLI di NotHoly? Installala prima.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install meltedinhex/analyzing-webshells

Scrive in ⁦~/.notholy/skills⁩ dopo aver controllato la firma e lo SHA-256.

FirmaFirmato, ed25519
uyqQgRuBvZ…5cnNO/Dg==La CLI controlla lo SHA-256 e la firma prima di scrivere qualsiasi file.
Pacchettoda616520…164b5bc8
da61652075fd…48c8164b5bc84 file · ⁦3.6 KB⁩
ScansioneMedio6 segnalazioni
  • command.base64_execSKILL.md:63
  • command.base64_execreferences/api-reference.md:29
  • Script eseguibile incluso nella skillscripts/analyst.py
Vedi la scansione completa
Sorgentegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/analyzing-webshells@da7600a

Questa voce non è ancora scritta in italiano, quindi è mostrata in un'altra lingua: English.

When to Use

  • You found a suspicious server-side script (.php, .aspx, .jsp, .asp) and need to confirm it is a webshell and understand its command interface.
  • You are triaging a web-server compromise and want to classify dropped scripts.

Do not use a live web server to execute the script to "test" it — that runs attacker code. Analyze the source statically.

Prerequisites

  • The suspect script file(s), read inertly.

Safety & Handling

  • Read the file statically; never deploy or request it on a live server. Defang any URLs.

Workflow

Step 1: Detect execution sinks and input flow

bash
python scripts/analyst.py scan shell.php

Flags dynamic-execution sinks (eval, assert, system, exec, passthru, Runtime.exec, ASPX eval()/Process.Start) and whether request input ($_GET/$_POST/Request) reaches them.

Step 2: Identify obfuscation/encoder chains

Detects base64_decode, gzinflate, str_rot13, eval(chr(...)), hex \x strings, and FromBase64String chains commonly wrapping the payload.

Step 3: Decode obvious layers

Apply base64/rot13/gzinflate where present to reveal the inner command interface (best-effort, non-executing).

Step 4: Classify and report

Note the language, the password/parameter gate (if any), and capabilities (file manager, command exec, SQL, upload); defang IOCs.

Validation

  • A flagged file pairs an execution sink with attacker-controlled input.
  • Encoder chains are identified and, where safe, decoded statically.
  • Capability classification is backed by concrete code evidence.

Pitfalls

  • Legitimate admin tools that also use eval/system — corroborate with input flow.
  • Multi-stage shells that fetch the real logic remotely.
  • Deeply nested or runtime-built obfuscation that static decode only partly unwinds.

References

  • See references/api-reference.md for the scanner.
  • ATT&CK T1505.003 (linked in frontmatter).

File di questa versione

Permessi

PermessoDichiaratoTrovato dalla scansione
Legge fileSìSì
Scrive fileNoNo
Esegue comandi shellSìSì
Usa la reteSìSì
Usa i connettoriNoNo
Controlla un browserNoNo

Segnalazioni della scansione

Rivisto il 13 nov 2026

  1. MediaComando · command.base64_execSKILL.md:63
  2. MediaComando · command.base64_execreferences/api-reference.md:29
  3. MediaFile · Script eseguibile incluso nella skillscripts/analyst.py
  4. MediaComando · command.base64_execscripts/analyst.py:28
  5. MediaComando · command.base64_execscripts/analyst.py:29
  6. InfoLink · Link a domini esterni

Una scansione pulita abbassa il rischio, ma non prova che il pacchetto sia sicuro. Leggi quello che installi.

VersionePubblicataCommitSHA-256FirmaCambio di permessi
v1.0.013 nov 2026da7600ada616520Firmata–

Chiedi tutto quello che il tuo perimetro consente.

Crea un account, aggiungi crediti e fai la prima domanda in chat o nel terminale.

  1. 1/3

    Crea l'account

    Privato o azienda. Puoi passare ad azienda in seguito senza perdere saldo o chiavi.

    PrivatoAzienda
  2. 2/3

    Aggiungi crediti

    Con carta. Paghi a token, senza abbonamento.

    $5.00ricarica minima
  3. 3/3

    Chiedi

    In chat, oppure installa la CLI ed esegui notholy login nel terminale.

    $ notholy login