Skip to content
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-webshellsReporting and compliance

analyzing-webshells

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

v1.0.03 installs+3 in 7 days24 StarsApache-2.0synced 10 hours ago

Install

No NotHoly CLI yet? Install it first.

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

Writes to ⁦~/.notholy/skills⁩ after checking the signature and the SHA-256.

SignatureSigned, ed25519
uyqQgRuBvZ…5cnNO/Dg==The CLI checks the SHA-256 and the signature before it writes a file.
Packageda616520…164b5bc8
da61652075fd…48c8164b5bc84 files · ⁦3.6 KB⁩
ScanMedium6 findings
  • command.base64_execSKILL.md:63
  • command.base64_execreferences/api-reference.md:29
  • Executable script shipped with the skillscripts/analyst.py
See the full scan
Sourcegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/analyzing-webshells@da7600a

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).

Files in this version

Permissions

PermissionDeclaredFound by the scan
Reads filesYesYes
Writes filesNoNo
Runs shell commandsYesYes
Uses the networkYesYes
Uses connectorsNoNo
Drives a browserNoNo

Scan findings

Reviewed on Nov 13, 2026

  1. MediumCommand · command.base64_execSKILL.md:63
  2. MediumCommand · command.base64_execreferences/api-reference.md:29
  3. MediumFile · Executable script shipped with the skillscripts/analyst.py
  4. MediumCommand · command.base64_execscripts/analyst.py:28
  5. MediumCommand · command.base64_execscripts/analyst.py:29
  6. InfoLink · Links to outside domains

A clean scan lowers the risk but does not prove a package is safe. Read what you install.

VersionPublishedCommitSHA-256SignaturePermission change
v1.0.0Nov 13, 2026da7600ada616520Signed–

Ask anything your scope allows.

Create an account, add credits and ask the first question in the chat or the terminal.

  1. 1/3

    Create the account

    Individual or company. You can switch to a company later without losing balance or keys.

    IndividualCompany
  2. 2/3

    Add credits

    By card. Pay per token, no subscription.

    $5.00minimum deposit
  3. 3/3

    Ask

    In the chat, or install the CLI and run notholy login in your terminal.

    $ notholy login