Tagged articles
replay attack
19 articles · Page 1 of 1
This comprehensive guide answers 12 critical API security questions covering HMAC signatures, timestamp and nonce replay prevention, constant-time comparison against timing attacks, Redis SETNX atomic operations, appId/appSecret management, and key rotation strategies for robust API protection.
API SecurityHMACIdempotency
0 likes · 25 min read

This article explains why token authentication alone is insufficient for open APIs and details a three-layer defense using HMAC-SHA256 signatures, timestamps, and nonces to prevent tampering, long-term replay, and short-term replay attacks, with Java implementation examples.
API SecurityHMACRedis
0 likes · 25 min read

This article explains five practical solutions to prevent API replay attacks, including unique nonces with Redis storage, timestamp validation, combined signature-timestamp-nonce schemes, backend-issued one-time tokens, and business-level idempotency keys for critical operations like payments.
API SecurityIdempotencyRedis
0 likes · 6 min read

This article presents ten interview‑style questions and detailed answers covering HTTPS handshake, certificate pinning, request signing, replay‑attack defenses, HMAC‑SHA256 vs RSA‑SHA256, AES‑CBC vs AES‑GCM, the limits of front‑end encryption, mTLS operation in micro‑services, key‑rotation design, and why HTTPS alone is insufficient, illustrating a comprehensive, layered security approach.
AES-GCMCertificate PinningHMAC
0 likes · 21 min read

The article defines replay attacks, outlines high‑risk scenarios such as payment and coupon redemption, demonstrates two real‑world exploits, and presents four practical mitigation techniques—including unique transaction IDs, timestamp windows, one‑time nonces, and signature verification—to protect APIs.
API Securitynoncereplay attack
0 likes · 10 min read

The article presents four practical case studies of captcha-related weaknesses—two showing how verifyId or UUID reuse lets attackers bypass image verification, one demonstrating a UUID‑bound bypass, and a fourth exposing a resource‑consumption flaw via manipulable height and width parameters.
CAPTCHAreplay attackresource consumption
0 likes · 5 min read

A microservice gateway misidentifies legitimate requests as replay attacks due to client-server time drift, causing 401 errors; the article explains the core logic, offers an emergency manual time sync, then details three progressive fixes: tiered gateway time thresholds, idempotency keys to eliminate time dependence, and internal NTP deployment for permanent synchronization.
API GatewayNTPSpring Cloud Gateway
0 likes · 17 min read

This article presents a comprehensive design for securing third‑party APIs by using Access Key/Secret Key pairs, timestamp and nonce validation, signature generation, token handling, HTTPS, rate limiting, logging, idempotency, versioning, standardized response formats and practical Java code examples to prevent tampering and replay attacks.
API SecurityAccess KeyAuthentication
0 likes · 32 min read

This guide presents a comprehensive design for securing third‑party API calls, covering Access Key/Secret Key generation, permission granularity, timestamp and nonce based replay protection, signature creation and verification, token handling, TLS encryption, rate limiting, logging, and practical Java code examples.
API SecurityAccess KeyJava
0 likes · 28 min read

This article explains the structure of JSON Web Tokens, outlines common attack vectors such as algorithm confusion, weak keys, replay, and header injection, and provides practical mitigation strategies and a testing checklist with recommended security tools.
JWTalgorithm confusioninformation security
0 likes · 13 min read

The article explains how exposed API endpoints can be intercepted and altered, and presents practical security measures—including HTTPS, encrypted parameters, timestamp‑based signatures, and a Spring Boot filter implementation—to detect and block tampering and replay attacks in a Java backend.
API SecurityJavaParameter encryption
0 likes · 8 min read

The article explains replay attacks, describes how using a timestamp, a nonce, or a combination of both can protect API requests, and provides complete PHP code examples for signing and verifying requests to ensure each call is accepted only once.
PHPnoncereplay attack
0 likes · 7 min read

This article walks through the TLS handshake, explains how client and server derive symmetric keys and MAC secrets, illustrates the encryption process, and shows why the sequence number in TLS MAC calculations prevents replay attacks, answering whether HTTPS can block such attacks.
HTTPSKey derivationMac
0 likes · 9 min read

This article explains how timestamp and nonce mechanisms can be combined to protect API endpoints from parameter tampering and replay attacks, illustrating the approach with a Java Spring interceptor that stores nonces in Redis and validates signatures on each request.
API SecurityJavanonce
0 likes · 8 min read

This article explains how to protect API endpoints that interact with front‑end applications by using token‑based authentication, timestamp checks, and MD5 signatures, detailing the implementation of open and secured controllers, login logic, signature verification, replay‑attack mitigation, and a Spring interceptor.
API SecurityInterceptorSpring Boot
0 likes · 9 min read

The article explains how to secure API interfaces by using AccessKey/SecretKey or Token/AppKey for identity verification, generating request signatures to prevent parameter tampering, and applying timestamp‑nonce mechanisms to defend against replay attacks, while providing concrete implementation examples in code.
API SecurityAccessKeyAuthentication
0 likes · 8 min read

The article explains how to secure API interfaces by using AccessKey/SecretKey, token, and AppKey for identity verification, parameter signing, and replay‑attack prevention through timestamp‑nonce mechanisms, and provides step‑by‑step client and server implementation examples.
API SecurityAccessKeyreplay attack
0 likes · 7 min read


AntTechMar 10, 2020 · Information Security
The article examines a 2019 bank app breach where a young hacker used packet capture, fake ID and replay attacks to create fraudulent accounts, then discusses comprehensive client‑side security measures—including Alipay's multi‑layer protection, AI‑driven verification, and mPaaS lifecycle hardening—to safeguard mobile applications.
Alipayclient appdata protection
0 likes · 6 min read

This article introduces business security testing, explaining its background, overall workflow, and detailed techniques such as network request interception with tools like TamperIE, Chrome DevTools, and tcpdump, as well as cookie manipulation, backend authentication forging, and replay attacks on GET and POST interfaces.
Network Interceptionbusiness securitycookie tampering
0 likes · 12 min read
