[Feature request] Make the scanner User-Agent configurable per task

Aperta
#515 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
backend, security

Direzione di ricerca

The payload names only PR #509 and the ARTEX-Assessment/1.0 label, so start by reading that PR to find the built-in HTTP request code it changes. Check that the label is opt-in, that an explicitly set User-Agent overrides it, and that the optional engagement reference is handled for the task's approved origins. Phase 2 (capture proxy) is on hold, so leave it out. Scope is maintainer-approved, so confirm the direction with the maintainer before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

feature

Hi @BaaRai, I’ve just joined the project and opened PR #509 before discussing the idea here. I’d appreciate your thoughts on the feature and how much of it belongs in ARTEX.

When I investigate an alert, I often start with a User-Agent from the WAF logs and look for the same string across other IPs. During an authorized assessment, it would help if the tester and the SOC could agree on a scanner label beforehand. The analyst could then check matching requests against the approved sites, testing window, and request IDs. A User-Agent is easy to copy, so a match alone is a poor reason to dismiss an alert.

Phase 1 — built-in HTTP requests. PR #509 adds an opt-in ARTEX-Assessment/1.0 label and an optional public engagement reference for a task’s approved origins. An explicitly set User-Agent takes precedence. This is the part currently up for review.

Phase 2 — requests through the capture proxy. The proposal is to apply the same setting to HTTP and intercepted HTTPS when the proxy can verify which task sent the request and that the destination is approved. Two simultaneous tasks visiting the same site should each keep their own label. This phase is on hold pending your feedback and approval of Phase 1.

What the finished feature could look like. For an authorized run, the operator could keep the ARTEX default, choose a saved scanner label, or enter a custom string agreed with the site owner. For offline WAF testing, I’d also like to rotate through a defined list of User-Agent strings in a sample log so a SOC can check which known events its searches group together or miss.

What do you think? Would you keep the built-in client support as the first step? I’d also like to hear whether proxy support and the list-based log exercise would be useful to the project.

Lingua principale
Go
Stelle
18.7k
Fork
7k
Merge medio
10h 41m
PR unite (30g)
342

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di BaaRai/ARTEX

Tutte le issue di BaaRai/ARTEX

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.