Pular para o conteúdo
Novo

DeepSeek V4.1 Flash grátis por 7 dias: 10M tokens por dia após recarga de $10 ou mais. Até 30/11.

Como funciona
meltedinhex/hunting-persistence-on-linuxLinux, cloud e containers

hunting-persistence-on-linux

⁨Hunts for Linux persistence by inspecting cron, systemd units, shell rc files, SSH⁩

v1.0.03 instalações+3 em 7 dias24 EstrelasApache-2.0sincronizado há 10 horas

Instalar

Ainda não tem a CLI da NotHoly? Instale primeiro.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install meltedinhex/hunting-persistence-on-linux

Grava em ⁦~/.notholy/skills⁩ depois de conferir a assinatura e o SHA-256.

AssinaturaAssinado, ed25519
xik4X9T7Mq…MRP+o1Ag==A CLI confere o SHA-256 e a assinatura antes de gravar qualquer arquivo.
Pacoted950ebfa…62393885
d950ebfa89cb…e573623938854 arquivos · ⁦3.0 KB⁩
VarreduraMédio6 achados
  • command.pipe_to_shellSKILL.md:58
  • command.base64_execSKILL.md:58
  • command.pipe_to_shellreferences/api-reference.md:26
Ver a varredura completa
Fontegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/hunting-persistence-on-linux@da7600a

Este item ainda não foi escrito no seu idioma, então aparece em English.

When to Use

  • You have collected Linux persistence-relevant files (cron entries, systemd units, shell rc files, authorized_keys, autostart) and want to flag suspicious entries.
  • You are triaging a suspected compromised Linux host's persistence surface.

Do not use this on a live root shell as a substitute for proper IR collection — feed it collected copies. It reads files statically and executes nothing.

Prerequisites

  • Collected persistence artifacts (cron files, unit files, rc files, authorized_keys).

Safety & Handling

  • Read files statically; treat their contents as untrusted.

Workflow

Step 1: Scan persistence files

bash
python scripts/analyst.py scan /path/to/collected

Recursively scans known persistence locations and flags entries containing download/exec patterns (curl|wget ... | sh, base64 -d | bash, reverse-shell one-liners, nc -e), suspicious paths (/tmp, /dev/shm), and unexpected authorized_keys additions.

Step 2: Categorize by mechanism

Group findings by mechanism: cron, systemd, rc/profile, SSH keys, autostart.

Step 3: Confirm

Compare against a known-good baseline of expected services/keys; investigate deviations.

Step 4: Document

Record each persistence entry, its mechanism, and the suspicious indicator.

Validation

  • Findings are grouped by persistence mechanism.
  • Reverse-shell/download-exec one-liners are flagged with the matched pattern.
  • authorized_keys additions are surfaced for review.

Pitfalls

  • Legitimate admin cron/systemd entries — baseline before alerting.
  • Persistence in less-common spots (udev, PAM, LD_PRELOAD) not covered by basic scans.
  • Encoded/obfuscated payloads hiding the true command.

References

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

Arquivos desta versão

Permissões

PermissãoDeclaradaEncontrada na varredura
Lê arquivosNãoNão
Grava arquivosNãoNão
Roda comandos no shellSimSim
Usa a redeSimSim
Usa conectoresNãoNão
Controla um navegadorNãoNão

Achados da varredura

Revisado em 13 de nov. de 2026

  1. MédiaComando · command.pipe_to_shellSKILL.md:58
  2. MédiaComando · command.base64_execSKILL.md:58
  3. MédiaComando · command.pipe_to_shellreferences/api-reference.md:26
  4. MédiaComando · command.base64_execreferences/api-reference.md:26
  5. MédiaArquivo · Script executável junto com a skillscripts/analyst.py
  6. InfoLink · Links para domínios externos

Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.

VersãoPublicada emCommitSHA-256AssinaturaMudança de permissão
v1.0.013 de nov. de 2026da7600ad950ebfaAssinada–

Pergunte tudo o que o seu escopo permite.

Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.

  1. 1/3

    Crie a conta

    Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.

    Pessoa físicaEmpresa
  2. 2/3

    Adicione créditos

    No cartão. Você paga por token, sem assinatura.

    $5.00recarga mínima
  3. 3/3

    Pergunte

    No chat, ou instale o CLI e rode notholy login no terminal.

    $ notholy login