41. Session Hijacking – Tokens, Cookies and Defence
41.7 Detection – Logs, Concurrent Sessions, SIEM Signals
Blue cannot prevent every steal – must detect odd use:
- Same session ID from two far cities in minutes
- Sudden User-Agent change mid-session
- Privilege action after long idle
- Many 401/403 then success from new IP
- Logout failed but cookie still accepted (invalidate bug)
Log what matters: session create, regenerate, destroy, login MFA result, IP, UA (privacy policy aware). SIEM / Wazuh / ELK – correlate; alert SOC (fictional Shahrukh) with runbook.
| Red team (attacker) does | Blue team (defender) detects / stops |
|---|---|
| Replays cookie from Kali while user still online | Concurrent session policy; step-up MFA; kill session |
| Spoofs UA to match victim | Combine IP+UA+behaviour; don't trust UA alone |
| Uses stolen session only for quiet data read | DLP / access logs on exports; anomaly baselines |
Ravindra Bagale's Tip
Students keep just one "login success" log line. Log the session lifecycle events – create, regenerate, destroy. These are what save you in an investigation. Got it?
Ravindra Bagale's Tip – मराठी
Students फक्त "login success log" ची एक line ठेवतात. Session lifecycle events log करा – create, regenerate, destroy. Investigation मध्ये हेच वाचवतात. समजले का?
Ravindra Bagale's Tip – हिंदी
Students सिर्फ़ "login success log" की एक line रखते हैं. Session lifecycle events log करो – create, regenerate, destroy. Investigation में यही बचाते हैं. समझ आया?
Lab
Add PHP/nginx log lines on OWN app: login, regenerate, logout. From Kali replay cookie while browser still logged in. Show two IPs in log for one SID. Write alert rule pseudo: same sid + distinct /24 within 5 minutes → ticket.
Extended teaching notes
Why this lesson matters
Web flaws stay in the OWASP Top 10 because real apps still ship them. Your job is not to collect tool screenshots. It is to prevent and fix the class of bug on systems you own.
Apply the fix across stacks
Same class of bug, same idea in every language.
Java / Spring Boot
Parameterise queries, encode output, CSRF tokens, limited Actuator, dependency scanning.
ASP.NET Core
EF Core / parameterised SQL, Razor encoding, HTTPS, Data Protection.
Node.js / Express
helmet, parameterised SQL, npm audit, avoid eval and shell concat.
Python / Django / Flask / FastAPI
ORM, autoescape, pip-audit, Bandit; never shell=True with user input.
PHP / Laravel
PDO/Eloquent, Blade escaping, composer audit.
Go / Ruby
database/sql placeholders / ActiveRecord; html/template / ERB escaping; govulncheck / Brakeman.
nginx / Apache / Tomcat
Hide versions, TLS, security headers, least-open ports.
MySQL / PostgreSQL / MongoDB / Redis
Private networks, auth on, least-privilege users, no 0.0.0.0/0.
AWS / Azure / GCP
Roles not long-lived keys, private data stores, cloud audit logs on.
Real examples
Global: injection and XSS still appear in breach reports and bug bounties every year. Indian company (sample): a Bengaluru SaaS team maps each OWASP item to a CI check or a code-review question so new code cannot silently reintroduce it.
Mini case study
Suppose we are on a purple-team exercise for an Indian mid-size company (sample data). Red notes a technique from this lesson against a lab clone. Blue must show the control that stops it, the log that would have fired, and the ticket that hardens production. That is the standard this course trains you for.
Defender's worksheet (do this today)
- Write the lesson title, date and the exact lab target you are allowed to use.
- List three owned systems (VMs, apps, or cloud accounts) where this lesson applies.
- Run one safe check from the lesson on a lab system only. Paste the command and output.
- Write a two-sentence fix you would give a teammate.
- Name one related public advisory (CERT-In, CISA, NVD, or a vendor bulletin) with its date.
Indian workplace (sample data)
Suppose we are a junior analyst at Infosys, TCS, Wipro or a fintech SOC in Bengaluru/Pune. Turn this lesson into one checklist item with an owner, a due date and a place to store evidence (ticket + screenshot).
Global practice
Compare your notes with OWASP, CIS Benchmarks, NIST CSF/IR guidance or a cloud Well-Architected security question. Write five lines on what overlaps.
Everyday analogy
Explain the risk and the fix to a family member without jargon. If they can repeat the warning, you understand it well enough to teach juniors.
Key terms
- Control: a safeguard (patch, config, process, detection).
- Finding: a weakness backed by evidence.
- Remediation: the fix plus how you verified it.
- Scope: systems you have written permission to touch.
- Least privilege: only the access the task needs.
- Defence in depth: several layers so one failure does not end the story.
Common mistakes
- Skipping written permission "just for a quick scan".
- Practising on hostel, office or public targets without authorisation.
- Collecting tool output without writing the fix.
- Copying attack steps onto production to "verify". Defenders verify with versions, configs and patches.
- Publishing screenshots that contain secrets, cookies or internal hostnames.
Recap
- Evidence, fix, owner, date.
- Own lab only.
- Fix > spectacle.
Real incident: Microsoft 365 token spray – stolen sign-in sessions replayed into 79 organisations, no password needed (Oct 2026)
1. What happened
In this lesson you learnt that after you log in, the website gives you a session token (like a cookie). Whoever holds that token is "logged in". If an attacker copies it, they need no password and no MFA code.
- On 22 October 2026, the security company Huntress reported a campaign against Microsoft 365 email accounts.
- Between 14 July and 22 September 2026, Huntress responded to incidents at 79 organisations. It saw at least 497 successful sign-ins and more than 200,000 failed attempts from the attacker.
- The attacker did not guess passwords. It replayed sign-in tokens stolen from victims. Huntress calls this "token spraying": like password spraying, but with stolen tokens.
- Inside the accounts, the attacker registered at least 48 fake computers in the company directory (Microsoft Entra ID), wiped and replaced the victims' MFA methods in 19 organisations, and made hidden inbox rules.
- In one case, the attacker sent a payroll-related email from a hacked mailbox to an outside accountant, and hid the replies. This is how business email compromise (BEC) fraud starts.
- Strict Conditional Access rules worked: in one wave, 1,052 sign-ins were blocked, all at just four organisations. In the other organisations nothing stopped the attacker.
2. How the hack happened (public reporting only – high-level)
- The victim got a phishing link to a fake sign-in page. The page was a relay (adversary-in-the-middle, AiTM). It showed the real Microsoft login and the real MFA prompt.
- The victim typed the password and approved MFA. Microsoft gave a session token after MFA, and the relay kept a copy.
- Some victims were instead tricked into typing a code on Microsoft's real page (device-code phishing). That also handed tokens to the attacker.
- Within minutes (4 to 12 minutes in two cases Huntress timed), the attacker reused the token from rented servers. The token was made after MFA, so no MFA prompt appeared.
- To stay in after the token expired, the attacker added its own authenticator app and registered fake devices.
- It made inbox rules with short, forgettable names that deleted mail or moved it to quiet folders like RSS Feeds or Conversation History, so the owner would not see replies or warnings.
- It changed IP addresses between waves, so a block on one address did not stop the next wave.
3. How to stop it / defend (this lesson: detection – logs, concurrent sessions, SIEM signals)
Why: MFA protects the login. It does not protect the token made after login. So you must watch how each session is used, and kill a bad session fast.
Signals to alert on in your SIEM:
- A user's session used from a new country or a hosting/VPN network minutes after a normal login.
- The operating system or browser changes in the middle of one session (Huntress saw macOS change to Windows).
- MFA methods deleted and a new one added within minutes.
- A new device registered from a hosting network.
- A new inbox rule with a 1–3 character name, a rule that moves mail to RSS Feeds or Conversation History, or a rule that matches words like payroll or bank.
- Many Conditional Access blocks for one user. Treat this as "the password or token is valid", not as "we are safe".
Steps when you find one:
- Revoke all sessions of the user. A password reset alone is not enough: Huntress says an access token can still work for about 90 minutes.
- Reset the password.
- Remove unknown MFA methods and devices. A password reset leaves them in place.
- Delete the hidden inbox rules and warn contacts (accountant, bank) about any fake email.
The same "log out everywhere" idea in your own web app:
- PHP: keep sessions in a database or Redis with the user id, and delete all rows for that user on password reset.
- Node.js (express-session): use a Redis store, keep a list of session ids per user, and destroy them all on reset.
- Java / Spring Security: use
SessionRegistry.getAllSessions(user, false)and callexpireNow()on each one. - .NET (ASP.NET Core Identity): call
UpdateSecurityStampAsync(user), so old login cookies stop working at the next security-stamp check. - Python / Django: a password change already logs out other sessions; for a full kill, delete that user's rows from the session table.
- JWT apps: keep access tokens short (5–15 minutes) and revoke the user's refresh tokens on the server.
4. How to take care so it won't happen again (checklist)
- [ ] Use phishing-resistant MFA (passkeys or FIDO2 security keys) for email and admin accounts. They do not work on a fake site.
- [ ] Turn on Conditional Access that requires MFA for all users, all apps and all client types, and allow only managed devices for staff where you can.
- [ ] Block device-code sign-in unless a team really needs it.
- [ ] Let only admins register devices, and stop normal users from approving new apps.
- [ ] Every week, review new MFA methods, new devices, new inbox rules and forwarding rules.
- [ ] Teach staff: never sign in or type a code from a link in an email. Open the app yourself.
- [ ] Confirm any payment or bank-detail change by calling a number you already know, not one from the email.
- [ ] Write a short runbook: revoke sessions → reset password → remove MFA methods and devices → remove rules → tell contacts.
Source: Huntress (Andrea Hatcher), "M365 Token Spray and Replay Campaign Compromises Business Email Accounts", Huntress Blog, 22 October 2026; Help Net Security, "Microsoft 365 accounts compromised at 79 organizations, no passwords needed", 23 October 2026; Infosecurity Magazine, "Widespread Token-Spraying Attacks Target Microsoft 365 Accounts", 23 October 2026.
1. काय झालं
या lesson मध्ये तुम्ही शिकलात की login केल्यावर website तुम्हाला एक session token देते (cookie सारखं). ज्याच्याकडे तो token आहे, तो "logged in" असतो. Attacker ने तो copy केला तर त्याला password पण लागत नाही आणि MFA code पण नाही.
- 22 ऑक्टोबर 2026 ला Huntress या security कंपनीने Microsoft 365 email accounts वरच्या एका campaign बद्दल report दिला.
- 14 जुलै ते 22 सप्टेंबर 2026 या काळात Huntress ने 79 organisations मधल्या incidents ला response दिला. Attacker चे किमान 497 successful sign-ins आणि 2,00,000 पेक्षा जास्त failed attempts दिसले.
- Attacker ने passwords guess केले नाहीत. त्याने victims कडून चोरलेले sign-in tokens परत वापरले (replay). Huntress याला "token spraying" म्हणते: password spraying सारखंच, पण चोरलेल्या tokens ने.
- Accounts मध्ये घुसल्यावर attacker ने company directory (Microsoft Entra ID) मध्ये किमान 48 खोटे computers register केले, 19 organisations मध्ये victims च्या MFA methods पुसून नवीन टाकल्या, आणि लपवलेले inbox rules बनवले.
- एका case मध्ये attacker ने hack झालेल्या mailbox मधून बाहेरच्या accountant ला payroll बद्दल email पाठवला, आणि त्याचे replies लपवले. Business email compromise (BEC) fraud असाच सुरू होतो.
- कडक Conditional Access rules कामाला आले: एका wave मध्ये 1,052 sign-ins block झाले, आणि ते सगळे फक्त चार organisations मध्ये. बाकीच्या organisations मध्ये attacker ला कोणी अडवलं नाही.
2. Hack कसा झाला (फक्त public reporting – high-level)
- Victim ला एका खोट्या sign-in page ची phishing link आली. ते page एक relay होतं (adversary-in-the-middle, AiTM). त्यावर खरा Microsoft login आणि खरा MFA prompt दिसत होता.
- Victim ने password टाकला आणि MFA approve केलं. MFA नंतर Microsoft ने session token दिला, आणि relay ने त्याची copy ठेवली.
- काही victims ना वेगळ्या पद्धतीने फसवलं: Microsoft च्या खऱ्या page वर एक code टाकायला लावलं (device-code phishing). त्यानेही tokens attacker ला मिळाले.
- काही मिनिटांत (Huntress ने मोजलेल्या दोन cases मध्ये 4 ते 12 मिनिटं) attacker ने भाड्याच्या servers वरून तो token परत वापरला. Token MFA नंतर बनला होता, म्हणून MFA prompt आलाच नाही.
- Token expire झाल्यावरही आत राहता यावं म्हणून attacker ने स्वतःचं authenticator app add केलं आणि खोटे devices register केले.
- त्याने छोट्या, लक्षात न राहणाऱ्या नावांचे inbox rules बनवले, जे mail delete करायचे किंवा RSS Feeds, Conversation History सारख्या शांत folders मध्ये हलवायचे, म्हणजे owner ला replies किंवा warnings दिसू नयेत.
- त्याने प्रत्येक wave मध्ये IP addresses बदलले, म्हणून एका address वरचा block पुढची wave थांबवू शकला नाही.
3. हे कसं थांबवायचं / defend कसं करायचं (हा lesson: detection – logs, concurrent sessions, SIEM signals)
का: MFA login ला protect करतं. ते login नंतर बनलेल्या token ला protect करत नाही. म्हणून प्रत्येक session कसा वापरला जातोय यावर लक्ष ठेवा, आणि वाईट session लगेच kill करा.
SIEM मध्ये या signals वर alert लावा:
- Normal login नंतर काही मिनिटांत user चा session नवीन देशातून किंवा hosting/VPN network वरून वापरला जाणं.
- एकाच session च्या मध्येच operating system किंवा browser बदलणं (Huntress ला macOS चं Windows झालेलं दिसलं).
- MFA methods delete होणं आणि काही मिनिटांत नवीन add होणं.
- Hosting network वरून नवीन device register होणं.
- 1–3 अक्षरी नावाचा नवीन inbox rule, mail RSS Feeds किंवा Conversation History मध्ये हलवणारा rule, किंवा payroll, bank सारख्या शब्दांवर चालणारा rule.
- एकाच user साठी खूप Conditional Access blocks. याचा अर्थ "password किंवा token valid आहे" असा घ्या, "आपण safe आहोत" असा नाही.
असं काही सापडलं तर steps:
- User चे सगळे sessions revoke करा. फक्त password reset पुरेसा नाही: Huntress नुसार access token साधारण 90 मिनिटं चालू राहू शकतो.
- Password reset करा.
- ओळखीच्या नसलेल्या MFA methods आणि devices काढून टाका. Password reset त्यांना तसंच ठेवतो.
- लपवलेले inbox rules delete करा आणि contacts ना (accountant, bank) कोणत्याही खोट्या email बद्दल सावध करा.
हीच "सगळीकडून logout" idea तुमच्या स्वतःच्या web app मध्ये:
- PHP: sessions database किंवा Redis मध्ये user id सोबत ठेवा, आणि password reset झाल्यावर त्या user च्या सगळ्या rows delete करा.
- Node.js (express-session): Redis store वापरा, प्रत्येक user च्या session ids ची list ठेवा, आणि reset वेळी त्या सगळ्या destroy करा.
- Java / Spring Security:
SessionRegistry.getAllSessions(user, false)वापरा आणि प्रत्येक session वरexpireNow()call करा. - .NET (ASP.NET Core Identity):
UpdateSecurityStampAsync(user)call करा, म्हणजे पुढच्या security-stamp check ला जुन्या login cookies चालणं बंद होतं. - Python / Django: password बदलला की बाकीचे sessions आपोआप logout होतात; पूर्ण kill साठी session table मधून त्या user च्या rows delete करा.
- JWT apps: access tokens छोटे ठेवा (5–15 मिनिटं) आणि server वर त्या user चे refresh tokens revoke करा.
4. पुन्हा असं होऊ नये म्हणून काय काळजी घ्यायची (checklist)
- [ ] Email आणि admin accounts साठी phishing-resistant MFA (passkeys किंवा FIDO2 security keys) वापरा. ते खोट्या site वर चालतच नाहीत.
- [ ] सगळे users, सगळे apps आणि सगळे client types साठी MFA लागेल असा Conditional Access चालू करा, आणि शक्य असेल तिथे staff साठी फक्त managed devices allow करा.
- [ ] एखाद्या team ला खरंच गरज नसेल तर device-code sign-in block करा.
- [ ] Devices फक्त admins ना register करू द्या, आणि normal users ना नवीन apps approve करू देऊ नका.
- [ ] दर आठवड्याला नवीन MFA methods, नवीन devices, नवीन inbox rules आणि forwarding rules review करा.
- [ ] Staff ला शिकवा: email मधल्या link वरून कधीच sign in करू नका किंवा code टाकू नका. App स्वतः उघडा.
- [ ] Payment किंवा bank details बदलाची कोणतीही request, email मधल्या नंबरवर नाही तर तुमच्याकडे आधीपासून असलेल्या नंबरवर call करून confirm करा.
- [ ] छोटं runbook लिहा: sessions revoke → password reset → MFA methods आणि devices काढा → rules काढा → contacts ना कळवा.
स्रोत: Huntress (Andrea Hatcher), "M365 Token Spray and Replay Campaign Compromises Business Email Accounts", Huntress Blog, 22 ऑक्टोबर 2026; Help Net Security, "Microsoft 365 accounts compromised at 79 organizations, no passwords needed", 23 ऑक्टोबर 2026; Infosecurity Magazine, "Widespread Token-Spraying Attacks Target Microsoft 365 Accounts", 23 ऑक्टोबर 2026.
1. क्या हुआ
इस lesson में आपने सीखा कि login करने के बाद website आपको एक session token देती है (cookie जैसा). जिसके पास वह token है, वह "logged in" है. अगर attacker उसे copy कर ले, तो उसे न password चाहिए, न MFA code.
- 22 अक्टूबर 2026 को security कंपनी Huntress ने Microsoft 365 email accounts पर चले एक campaign की report दी.
- 14 जुलाई से 22 सितंबर 2026 के बीच Huntress ने 79 organisations के incidents पर response दिया. उसे attacker के कम से कम 497 successful sign-ins और 2,00,000 से ज़्यादा failed attempts दिखे.
- Attacker ने passwords guess नहीं किए. उसने victims से चुराए गए sign-in tokens दोबारा इस्तेमाल किए (replay). Huntress इसे "token spraying" कहती है: password spraying जैसा, लेकिन चुराए गए tokens से.
- Accounts के अंदर attacker ने company directory (Microsoft Entra ID) में कम से कम 48 नकली computers register किए, 19 organisations में victims के MFA methods मिटाकर नए डाले, और छिपे हुए inbox rules बनाए.
- एक case में attacker ने hack हुए mailbox से बाहर के accountant को payroll वाला email भेजा, और उसके replies छिपा दिए. Business email compromise (BEC) fraud ऐसे ही शुरू होता है.
- सख़्त Conditional Access rules काम आए: एक wave में 1,052 sign-ins block हुए, और वे सब सिर्फ चार organisations में थे. बाकी organisations में attacker को किसी ने नहीं रोका.
2. Hack कैसे हुआ (सिर्फ public reporting – high-level)
- Victim को एक नकली sign-in page की phishing link मिली. वह page एक relay था (adversary-in-the-middle, AiTM). उस पर असली Microsoft login और असली MFA prompt दिखता था.
- Victim ने password डाला और MFA approve किया. MFA के बाद Microsoft ने session token दिया, और relay ने उसकी copy रख ली.
- कुछ victims को दूसरे तरीके से फँसाया गया: Microsoft के असली page पर एक code डलवाया गया (device-code phishing). इससे भी tokens attacker को मिल गए.
- कुछ ही मिनटों में (Huntress के नापे दो cases में 4 से 12 मिनट) attacker ने किराए के servers से वह token दोबारा इस्तेमाल किया. Token MFA के बाद बना था, इसलिए कोई MFA prompt आया ही नहीं.
- Token expire होने के बाद भी अंदर रहने के लिए attacker ने अपना authenticator app add किया और नकली devices register किए.
- उसने छोटे, याद न रहने वाले नामों के inbox rules बनाए, जो mail delete करते थे या RSS Feeds, Conversation History जैसे शांत folders में भेज देते थे, ताकि owner को replies या warnings न दिखें.
- उसने हर wave में IP addresses बदले, इसलिए एक address पर लगा block अगली wave को नहीं रोक पाया.
3. इसे कैसे रोकें / defend कैसे करें (यह lesson: detection – logs, concurrent sessions, SIEM signals)
क्यों: MFA login को protect करता है. वह login के बाद बने token को protect नहीं करता. इसलिए हर session कैसे इस्तेमाल हो रहा है, इस पर नज़र रखें, और खराब session तुरंत kill करें.
SIEM में इन signals पर alert लगाएँ:
- Normal login के कुछ मिनट बाद user का session नए देश से या hosting/VPN network से इस्तेमाल होना.
- एक ही session के बीच में operating system या browser बदल जाना (Huntress को macOS से Windows बनता दिखा).
- MFA methods delete होना और कुछ मिनट में नया add होना.
- Hosting network से नया device register होना.
- 1–3 अक्षर वाले नाम का नया inbox rule, mail को RSS Feeds या Conversation History में भेजने वाला rule, या payroll, bank जैसे शब्दों पर चलने वाला rule.
- एक ही user के लिए बहुत सारे Conditional Access blocks. इसका मतलब "password या token valid है" समझें, "हम safe हैं" नहीं.
ऐसा कुछ मिले तो steps:
- User के सारे sessions revoke करें. सिर्फ password reset काफी नहीं: Huntress के अनुसार access token लगभग 90 मिनट तक चल सकता है.
- Password reset करें.
- अनजान MFA methods और devices हटाएँ. Password reset उन्हें वैसे ही छोड़ देता है.
- छिपे हुए inbox rules delete करें और contacts (accountant, bank) को किसी भी नकली email के बारे में सावधान करें.
यही "हर जगह से logout" idea आपके अपने web app में:
- PHP: sessions को database या Redis में user id के साथ रखें, और password reset होने पर उस user की सारी rows delete करें.
- Node.js (express-session): Redis store इस्तेमाल करें, हर user के session ids की list रखें, और reset पर उन सबको destroy करें.
- Java / Spring Security:
SessionRegistry.getAllSessions(user, false)इस्तेमाल करें और हर session परexpireNow()call करें. - .NET (ASP.NET Core Identity):
UpdateSecurityStampAsync(user)call करें, ताकि अगले security-stamp check पर पुरानी login cookies काम करना बंद कर दें. - Python / Django: password बदलते ही बाकी sessions अपने आप logout हो जाते हैं; पूरा kill करने के लिए session table से उस user की rows delete करें.
- JWT apps: access tokens छोटे रखें (5–15 मिनट) और server पर उस user के refresh tokens revoke करें.
4. दोबारा ऐसा न हो, इसके लिए क्या ध्यान रखें (checklist)
- [ ] Email और admin accounts के लिए phishing-resistant MFA (passkeys या FIDO2 security keys) इस्तेमाल करें. वे नकली site पर काम ही नहीं करते.
- [ ] सभी users, सभी apps और सभी client types के लिए MFA ज़रूरी करने वाला Conditional Access चालू करें, और जहाँ हो सके staff के लिए सिर्फ managed devices allow करें.
- [ ] अगर किसी team को सच में ज़रूरत नहीं है तो device-code sign-in block करें.
- [ ] Devices सिर्फ admins को register करने दें, और normal users को नए apps approve न करने दें.
- [ ] हर हफ्ते नए MFA methods, नए devices, नए inbox rules और forwarding rules review करें.
- [ ] Staff को सिखाएँ: email की link से कभी sign in न करें और code न डालें. App खुद खोलें.
- [ ] Payment या bank details बदलने की कोई भी request, email वाले नंबर पर नहीं, बल्कि पहले से आपके पास मौजूद नंबर पर call करके confirm करें.
- [ ] एक छोटा runbook लिखें: sessions revoke → password reset → MFA methods और devices हटाएँ → rules हटाएँ → contacts को बताएँ.
स्रोत: Huntress (Andrea Hatcher), "M365 Token Spray and Replay Campaign Compromises Business Email Accounts", Huntress Blog, 22 अक्टूबर 2026; Help Net Security, "Microsoft 365 accounts compromised at 79 organizations, no passwords needed", 23 अक्टूबर 2026; Infosecurity Magazine, "Widespread Token-Spraying Attacks Target Microsoft 365 Accounts", 23 अक्टूबर 2026.
Check if you're safe: Password Strength Checker
Real incident: Peach Aviation and Yumirulink – stolen admin sessions and a normal CSV download leaked about 9 million airline customer records (Nov 2026)
1. What happened
In this lesson you learnt how to detect a stolen session from logs. Why does this case matter? Because here the attacker used stolen sessions to download data with a normal button. It looked like a real admin at work. Only a careful look at session logs found it.
- Peach Aviation is a low-cost airline in Japan. It sends newsletters and notice emails through Cuenote FC, an email delivery service run by a vendor called Yumirulink.
- Yumirulink says it spotted the attack on 16 October 2026, when a staff member saw something odd on their own account. It blocked the attacker, patched the hole and shut down affected servers.
- On 20 November 2026, Peach said 8,997,106 customer records had leaked. The data may include name, date of birth, gender, address, phone number, email address and trip details.
- Peach said no credit card or passport details were in the leaked data, and bookings and flights were not affected. It said it had seen no misuse of the data so far.
- Peach is not the only victim. In its 11 November report, Yumirulink said data leaked from 49 customer systems, about 47.86 million records counted in total across its customers.
2. How the hack happened (public reporting only – high-level)
- The attacker used a software flaw in the email service to get in. Yumirulink has not shared the technical details.
- Way 1: on a few servers, the attacker placed a bad program, read the database directly, and moved to other servers through the internal admin network. Yumirulink said a shared maintenance and QA account helped this spread.
- Way 2: using the flaw, the attacker stole the session of real users who were logged in at that time.
- With those stolen sessions, the attacker opened the admin screen as if they were the real user, and used the normal CSV download button to export customer lists.
- Way 2 needed no new program and no direct database access. So it looked like normal admin work. Yumirulink found it only after it checked the login and activity logs of all its systems, and the number of affected systems grew from 5 to 49.
3. How to stop it / defend (this lesson: detecting session misuse)
Why: a stolen session already "passed" the login and MFA. So you must watch what the session does, not only how it logged in.
What a team running a web app can do:
- Log every export. Who, which list, how many rows, from which IP, at what time. Big exports should send an alert.
- Bind the session to the device: flag the same session ID used from a new IP or new browser in a short time.
- Ask for MFA again (step-up) before a bulk download or any action that touches many customers.
- Kill shared accounts. Give each engineer their own account with MFA and only the access they need.
- Limit who can reach admin screens, for example only from office or VPN IP ranges. Yumirulink added this after the attack.
- When one sign is found, look back across all systems, not only the first broken server.
What you can do as a customer after a leak like this:
- Expect fake "refund", "points expiring" or "flight change" messages. Do not open links or attachments in them.
- Open the airline's app or type its website yourself to check anything.
- Never share OTP, card details or passwords over a call, SMS or email.
Example: a simple "quiet export" alert rule.
- Rule: one session exports more than 10,000 rows in an hour, or exports from an IP it never used before.
- Action: send a SIEM alert, pause the session, and ask the user to sign in again with MFA.
- Check: an analyst calls the real user on a known number and asks, "Did you download this list?"
- What it means: a normal button can still be an attack. The pattern of use tells you the truth.
4. How to take care so it won't happen again (checklist)
- [ ] Every data export is logged and big exports raise an alert.
- [ ] Sessions are checked for new IP or browser in the middle of use.
- [ ] Bulk download needs a fresh MFA check.
- [ ] No shared admin, maintenance or test accounts.
- [ ] Admin screens are reachable only from approved networks.
- [ ] We patch internet-facing software fast and scan for unknown programs on servers.
- [ ] We ask our email and marketing vendors how they detect session misuse, and we send them only the data they need.
Source: Peach Aviation, "Unauthorized Access at Yumirulink Inc.: Apology and Notice Regarding the Leakage of Email Addresses and Other Personal Information", 20 November 2026; NHK News, report on the Peach personal data leak, 20 November 2026; Nikkei, report on the Peach and Yumirulink leak, 20 November 2026; Yumirulink Inc., third report on unauthorized access to its systems (stock exchange filing), 11 November 2026.
1. काय झालं
या lesson मध्ये आपण logs वरून चोरलेलं session कसं ओळखायचं ते शिकलो. ही घटना का महत्वाची आहे? कारण इथे attacker ने चोरलेल्या sessions वापरून एका साध्या button ने data download केला. ते खऱ्या admin च्या कामासारखंच दिसत होतं. Session logs नीट बघितल्यावरच ते सापडलं.
- Peach Aviation ही जपानमधली एक स्वस्त airline आहे. ती newsletters आणि notice emails Cuenote FC नावाच्या email service मधून पाठवते. ही service Yumirulink नावाचा vendor चालवतो.
- Yumirulink म्हणते की 16 ऑक्टोबर 2026 ला एका staff ला स्वतःच्या account वर काहीतरी विचित्र दिसलं, आणि तेव्हा attack पकडला गेला. त्यांनी attacker ला block केलं, hole patch केलं आणि affected servers बंद केले.
- 20 नोव्हेंबर 2026 ला Peach ने सांगितलं की 8,997,106 customer records leak झाले. यात नाव, जन्मतारीख, gender, पत्ता, phone number, email आणि trip ची माहिती असू शकते.
- Peach नुसार leak झालेल्या data मध्ये credit card किंवा passport ची माहिती नाही, आणि bookings आणि flights वर परिणाम नाही. आतापर्यंत data चा गैरवापर दिसला नाही, असं त्यांनी सांगितलं.
- फक्त Peach च नाही. 11 नोव्हेंबर च्या report मध्ये Yumirulink ने सांगितलं की 49 customer systems मधून data leak झाला, सगळ्या customers मिळून एकूण सुमारे 4.786 कोटी records.
2. Hack कसा झाला (public reporting वरून – थोडक्यात)
- Attacker ने email service मधल्या एका software flaw चा वापर करून आत प्रवेश केला. Yumirulink ने technical details सांगितले नाहीत.
- पहिला मार्ग: काही servers वर attacker ने एक वाईट program ठेवला, database थेट वाचला, आणि आतल्या admin network मधून दुसऱ्या servers वर गेला. Yumirulink नुसार एका shared maintenance आणि QA account मुळे हे पसरायला मदत झाली.
- दुसरा मार्ग: त्याच flaw मधून attacker ने त्या वेळी login असलेल्या खऱ्या users चं session चोरलं.
- त्या चोरलेल्या sessions ने attacker खरा user असल्यासारखा admin screen मध्ये गेला, आणि नेहमीच्या CSV download button ने customer lists export केल्या.
- दुसऱ्या मार्गाला नवीन program किंवा database access लागला नाही. त्यामुळे ते साध्या admin कामासारखं दिसलं. सगळ्या systems चे login आणि activity logs check केल्यावरच Yumirulink ला हे सापडलं, आणि affected systems 5 वरून 49 झाले.
3. कसं थांबवायचं / बचाव (हा lesson: session misuse detect करणं)
का: चोरलेलं session login आणि MFA आधीच "pass" झालेलं असतं. म्हणून ते कसं login झालं एवढंच नाही, तर ते session काय करतंय ते बघा.
Web app चालवणारी team काय करू शकते:
- प्रत्येक export log करा. कोणी, कोणती list, किती rows, कोणत्या IP वरून, किती वाजता. मोठ्या export वर alert आला पाहिजे.
- Session device शी जोडा: कमी time मध्ये तोच session ID नवीन IP किंवा नवीन browser वरून आला तर flag करा.
- Bulk download किंवा खूप customers ना touch करणाऱ्या action आधी पुन्हा MFA विचारा (step-up).
- Shared accounts बंद करा. प्रत्येक engineer ला MFA सोबत स्वतःचं account द्या, आणि फक्त गरजेपुरता access.
- Admin screens कोण उघडू शकतो ते मर्यादित करा, उदा. फक्त office किंवा VPN च्या IP वरून. Yumirulink ने attack नंतर हे लावलं.
- एक sign सापडला की सगळ्या systems मध्ये मागे जाऊन check करा, फक्त पहिल्या server मध्ये नाही.
असा leak झाल्यावर customer म्हणून तुम्ही काय करू शकता:
- खोटे "refund", "points expire होत आहेत" किंवा "flight बदलली" असे messages येतील असं धरा. त्यातले links किंवा attachments उघडू नका.
- काहीही check करायचं असेल तर airline चं app उघडा किंवा website स्वतः type करा.
- Call, SMS किंवा email वर OTP, card details किंवा password कधीच देऊ नका.
उदाहरण: "शांत export" साठी एक सोपा alert rule.
- Rule: एका session ने एका तासात 10,000 पेक्षा जास्त rows export केल्या, किंवा आधी कधीच न वापरलेल्या IP वरून export केलं.
- Action: SIEM alert पाठवा, session थांबवा, आणि user ला MFA सोबत पुन्हा sign in करायला सांगा.
- Check: analyst खऱ्या user ला माहितीच्या number वर call करून विचारतो, "ही list तुम्ही download केली का?"
- याचा अर्थ: साधं button सुद्धा attack असू शकतं. वापरण्याची पद्धत खरं काय ते सांगते.
4. परत होऊ नये म्हणून काय काळजी घ्यायची (checklist)
- [ ] प्रत्येक data export log होतो आणि मोठ्या export वर alert येतो.
- [ ] वापर चालू असताना नवीन IP किंवा browser आला तर session check होतं.
- [ ] Bulk download साठी नवीन MFA check लागतो.
- [ ] कोणतेही shared admin, maintenance किंवा test accounts नाहीत.
- [ ] Admin screens फक्त approved networks वरूनच उघडतात.
- [ ] Internet वरचं software आपण लवकर patch करतो आणि servers वर अनोळखी programs scan करतो.
- [ ] Email आणि marketing vendors ना आपण विचारतो की ते session misuse कसं पकडतात, आणि त्यांना फक्त गरजेचा data देतो.
Source: Peach Aviation, "Unauthorized Access at Yumirulink Inc.: Apology and Notice Regarding the Leakage of Email Addresses and Other Personal Information", 20 नोव्हेंबर 2026; NHK News, report on the Peach personal data leak, 20 नोव्हेंबर 2026; Nikkei, report on the Peach and Yumirulink leak, 20 नोव्हेंबर 2026; Yumirulink Inc., third report on unauthorized access to its systems (stock exchange filing), 11 नोव्हेंबर 2026.
1. क्या हुआ
इस lesson में आपने सीखा कि logs से चोरी हुआ session कैसे पकड़ें. यह घटना क्यों ज़रूरी है? क्योंकि यहाँ attacker ने चोरी किए sessions से एक साधारण button दबाकर data download किया. यह असली admin के काम जैसा ही दिखा. Session logs को ध्यान से देखने पर ही यह पकड़ में आया.
- Peach Aviation जापान की एक सस्ती airline है. यह newsletters और notice emails Cuenote FC नाम की email service से भेजती है. यह service Yumirulink नाम का vendor चलाता है.
- Yumirulink के अनुसार 16 अक्टूबर 2026 को एक staff को अपने account पर कुछ अजीब दिखा, तब attack पकड़ा गया. उन्होंने attacker को block किया, hole patch किया और affected servers बंद किए.
- 20 नवंबर 2026 को Peach ने बताया कि 8,997,106 customer records leak हुए. इनमें नाम, जन्मतिथि, gender, पता, phone number, email और trip की जानकारी हो सकती है.
- Peach के अनुसार leak हुए data में credit card या passport की जानकारी नहीं है, और bookings और flights पर कोई असर नहीं है. अब तक data का गलत इस्तेमाल नहीं दिखा, ऐसा उन्होंने कहा.
- सिर्फ़ Peach ही नहीं. 11 नवंबर की report में Yumirulink ने बताया कि 49 customer systems से data leak हुआ, सभी customers मिलाकर कुल लगभग 4.786 करोड़ records.
2. Hack कैसे हुआ (public reporting से – संक्षेप में)
- Attacker ने email service की एक software flaw का इस्तेमाल करके अंदर प्रवेश किया. Yumirulink ने technical details नहीं बताए.
- पहला तरीका: कुछ servers पर attacker ने एक बुरा program रखा, database सीधे पढ़ा, और अंदर के admin network से दूसरे servers तक गया. Yumirulink के अनुसार एक shared maintenance और QA account ने इसे फैलने में मदद की.
- दूसरा तरीका: उसी flaw से attacker ने उस समय login असली users का session चुरा लिया.
- उन चोरी किए sessions से attacker असली user बनकर admin screen में गया, और सामान्य CSV download button से customer lists export कीं.
- दूसरे तरीके में न नया program लगा, न database access. इसलिए यह सामान्य admin काम जैसा दिखा. सभी systems के login और activity logs check करने के बाद ही Yumirulink को यह मिला, और affected systems 5 से बढ़कर 49 हो गए.
3. कैसे रोकें / बचाव (यह lesson: session misuse detect करना)
क्यों: चोरी हुआ session login और MFA पहले ही "pass" कर चुका होता है. इसलिए सिर्फ़ यह मत देखो कि login कैसे हुआ, यह भी देखो कि session क्या कर रहा है.
Web app चलाने वाली team क्या कर सकती है:
- हर export log करें. किसने, कौन सी list, कितनी rows, किस IP से, किस समय. बड़े export पर alert आना चाहिए.
- Session को device से जोड़ें: कम समय में वही session ID नए IP या नए browser से आए तो flag करें.
- Bulk download या बहुत सारे customers को छूने वाले action से पहले फिर से MFA माँगें (step-up).
- Shared accounts बंद करें. हर engineer को MFA के साथ अपना account दें, और सिर्फ़ ज़रूरत भर का access.
- Admin screens कौन खोल सकता है, यह सीमित करें, जैसे सिर्फ़ office या VPN के IP से. Yumirulink ने attack के बाद यह लगाया.
- एक sign मिलते ही सभी systems में पीछे जाकर check करें, सिर्फ़ पहले server में नहीं.
ऐसे leak के बाद customer के रूप में आप क्या कर सकते हैं:
- नकली "refund", "points expire हो रहे हैं" या "flight बदल गई" जैसे messages आएँगे, यह मानकर चलें. उनके links या attachments न खोलें.
- कुछ भी check करना हो तो airline का app खोलें या website ख़ुद type करें.
- Call, SMS या email पर OTP, card details या password कभी न दें.
उदाहरण: "चुपचाप export" के लिए एक आसान alert rule.
- Rule: एक session ने एक घंटे में 10,000 से ज़्यादा rows export कीं, या पहले कभी न इस्तेमाल हुए IP से export किया.
- Action: SIEM alert भेजें, session रोकें, और user से MFA के साथ फिर से sign in करवाएँ.
- Check: analyst असली user को जाने-पहचाने number पर call करके पूछता है, "क्या यह list आपने download की?"
- इसका मतलब: साधारण button भी attack हो सकता है. इस्तेमाल का pattern सच बताता है.
4. फिर न हो, इसके लिए क्या ध्यान रखें (checklist)
- [ ] हर data export log होता है और बड़े export पर alert आता है.
- [ ] इस्तेमाल के बीच नया IP या browser आए तो session check होता है.
- [ ] Bulk download के लिए नया MFA check लगता है.
- [ ] कोई shared admin, maintenance या test account नहीं है.
- [ ] Admin screens सिर्फ़ approved networks से ही खुलते हैं.
- [ ] Internet वाला software हम जल्दी patch करते हैं और servers पर अनजान programs scan करते हैं.
- [ ] Email और marketing vendors से हम पूछते हैं कि वे session misuse कैसे पकड़ते हैं, और उन्हें सिर्फ़ ज़रूरी data देते हैं.
Source: Peach Aviation, "Unauthorized Access at Yumirulink Inc.: Apology and Notice Regarding the Leakage of Email Addresses and Other Personal Information", 20 नवंबर 2026; NHK News, report on the Peach personal data leak, 20 नवंबर 2026; Nikkei, report on the Peach and Yumirulink leak, 20 नवंबर 2026; Yumirulink Inc., third report on unauthorized access to its systems (stock exchange filing), 11 नवंबर 2026.
Ravindra Bagale's Tip
A stolen session does not break in. It walks in and clicks normal buttons. So log what each session does, especially exports, and alert when the pattern looks new.
Ravindra Bagale's Tip – मराठी
चोरलेलं session तोडफोड करून आत येत नाही. ते सरळ आत येतं आणि नेहमीची buttons दाबतं. म्हणून प्रत्येक session काय करतंय ते log करा, खास करून exports, आणि pattern नवीन दिसला की alert द्या.
Ravindra Bagale's Tip – हिंदी
चोरी हुआ session तोड़कर अंदर नहीं आता. वह सीधे अंदर आता है और सामान्य buttons दबाता है. इसलिए हर session क्या करता है उसे log करें, ख़ासकर exports, और pattern नया दिखे तो alert दें.
Check if you're safe: Phishing Link Checker · Password Strength Checker