SShortSingh.
Back to feed

Developer Self-Attacks AWS API to Expose Cloud Security Gaps, Documents Every Step

0
·25 views

A developer built and deliberately attacked two versions of a serverless Todo API on AWS to demonstrate real-world cloud security vulnerabilities. The experiment was conducted in compliance with AWS's penetration testing policy, which allows users to test infrastructure they own without prior authorization. One API version had no security controls, while the other was hardened as it would be for a production client, with both sharing the same basic architecture of API Gateway, Lambda, and DynamoDB. The first attack demonstrated enumeration, where an unauthenticated request to the vulnerable API returned every record in the database due to an unfiltered table scan and missing authentication. The developer published all code, Terraform files, and attack scripts on GitHub to help others understand that cloud security depends on what users build on their side of AWS's Shared Responsibility Model.

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
ProgrammingDEV Community ·

Node.js Backup Uploads: Multipart Handling and Retention Rules for Report Archives

The article argues that an edtech service delivering generated reports should define its deletion procedure before choosing a multipart upload approach. It treats a report's lifecycle as a custody promise, meaning it must stay private while valid, be restorable when published, and be removable under retention or access rules. Using a report containing student work as an example, it asks how cancellations, revoked access, and timed-out deletions should be handled. The piece recommends that a durable application record, rather than storage state or bucket age rules, control authorization and retention, with unfinished uploads aborted and reconciled. It also separates customer-facing report archives from internal database backups, which may follow different schedules.

0
ProgrammingDEV Community ·

Building Container-Like Isolation with Linux Namespaces

A DEV Community article explains that containers are not a native Linux concept but are built from kernel namespace features. It lists seven namespaces, including mount, PID, network, IPC, UTS, user, and cgroup, along with chroot. The author outlines the two kernel APIs used to create namespaces: clone for new processes and unshare for moving existing ones. The tutorial takes a hands-on approach, using two terminals and shell scripts to demonstrate how a container system is assembled on Linux.

0
ProgrammingDEV Community ·

DJs Dominate Music's Most-Traveled Rankings, Study and Live Data Show

A 2017 TravelBird study found that the two most-traveled musicians in history are both electronic dance music producers, with Tiësto leading at over 1.55 million career miles. Beyoncé ranked 19th with about 472,443 miles, less than a third of Tiësto's total. The author's live leaderboard, built from announced tour stops for 83 major DJs and measured by great-circle distance, shows the same pattern this season. The gap is attributed to production logistics: pop stadium tours require dozens of trucks and multi-day setups, while a DJ's gear fits in a backpack, allowing far more city visits. The live rankings also reveal different travel strategies, such as Steve Aoki's many short regional legs versus Ferry Corsten's few long intercontinental flights.

0
ProgrammingDEV Community ·

Delphi physics lab from 2004 grows into Makarov Suites of simulations

A university student built a physics lab in Delphi 7 and OpenGL in 2004 for classroom use, and that original project still exists publicly on GitHub. The same desktop platform has since evolved into Makarov Suites, developed by the author in Munich. Physics, Math and Astronomy suites are available on Steam for Windows, while Engineering, Earth and Games are still in development. The author presents short recorded demonstrations of the applications, including wave motion in pendulums, cube permutations, black hole light bending, and gearbox mechanics. The applications are designed so users can explore concepts by manipulating the simulated objects themselves.