SShortSingh.
Back to feed

Home intrusion detector's syn_scan rule could never fire, author reports

0
·4 views

A developer building CNDS, a home-network intrusion detector that uses Scapy and five detection engines, ran it on a Raspberry Pi 5 and saw alert volumes of around 45 per hour on day one, with roughly 178 and 336 false positives on two October days. Causes included untrained demo models saturating their scores, critical payload regex rules firing on encrypted traffic, and a monitoring probe generating most remaining alerts. After fixing these, daily alerts dropped to 37 to 63 with none rated high or critical. A red-team test then revealed that the syn_scan rule had a contradictory condition that made it impossible to trigger, since every SYN packet also counts as a forward packet. The author fixed the rule and made it critical, though a SYN flood test still produced no alert, prompting further investigation.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Essay Argues Many Products and Services Are Now Marketed as AI Scams

A blog post by David Ralph Lewis, shared on Hacker News, contends that a growing number of offerings are being presented as artificial intelligence when the claims may be exaggerated or misleading. The piece appears to focus on the trend of rebranding ordinary software and services under AI labels. The provided material includes only the link and basic metadata, with four points and no comments at the time of capture. Because the full article text was not available, the specific examples and arguments the author makes cannot be detailed here.

0
ProgrammingHacker News ·

AR Guitar Built With Only a Laptop and Scissors Shared on Hacker News

A project called AR Guitar, which lets users play a guitar through augmented reality, was posted to Hacker News. The article linked to the project's website at arguitar.com. The post received 5 points and one comment from readers. The source material does not include details on how the system works or who created it. The item reflects a community discussion rather than a formal announcement.

0
ProgrammingDEV Community ·

Man-in-the-Middle Attacks: How Public Wi-Fi Can Expose Your Data

A Man-in-the-Middle attack lets a malicious party secretly sit between a user's device and the server they are contacting, reading or altering the data passing through. Such attacks are especially common on public Wi-Fi at airports, cafes, and hotels, where attackers may set up fake hotspots with convincing names. Techniques like ARP spoofing can redirect a device's traffic through the attacker's machine, exposing unencrypted passwords and enabling fake login pages. Because traffic is not blocked, victims often continue browsing without noticing their data is being captured. Using HTTPS, which encrypts data between the browser and server, is a key defense against interception.

0
ProgrammingDEV Community ·

Three Claude Code permission presets and the gap none of them closes

The article presents three permission presets for Claude Code's settings.json, ranging from strict to fully autonomous, to reduce repeated approval prompts. Rules are evaluated with deny taking precedence over ask, and ask over allow, with unlisted commands falling back to the defaultMode. The author notes that the autonomous preset's Bash(git:*) rule also permits destructive commands like git push --force and git reset --hard, since permission rules match only by command prefix. A second gap is that file-read restrictions apply to Claude's Read tool but not to shell commands such as cat .env, which requires PreToolUse hooks to inspect and block. The author links free open-source hooks for blocking destructive commands and secret writes, and promotes a paid Spanish-language kit bundling the presets, hooks, skills, and templates.