Real Interview Questions for the Software Engineer at Kudelski
NewInterview Q&A
Q&A-1Walk me through the incident response lifecycle and where an IR engineer adds the most value?
Reported in Kudelski Security Incident Response Engineer Interview Questions ...
The 90-second answer
I use the NIST SP 800-61 lifecycle: preparation, detection and analysis, containment, eradication, recovery, and lessons learned. The phases are not a waterfall in a live incident. Detection feeds containment while analysis is still running, and recovery starts before eradication is proven complete. An IR engineer adds the most value at the two decision points where a wrong call is expensive and hard to reverse: deciding what to contain and how fast, and deciding when eradication is actually done.
Preparation is what makes those calls possible under pressure. That means pre-approved containment actions, snapshots and memory capture tooling tested on the real stack, and a severity matrix agreed with product and legal before an incident. At Kudelski, for a software engineer that also means knowing which services hold DRM licences, keys, or customer telemetry, because containing them has a business cost beyond downtime.
Detection and analysis is triage, not alert collection. I would ask: what is the blast radius, is this a single host or lateral movement, and what evidence will disappear if we reboot? A worked trace from a hypothetical ransomware alert looks like this:
| Time | Observation | Decision |
|---|---|---|
| 09:12 | EDR flags rundll32 spawning vssadmin delete shadows on host build-07 | Escalate to SEV-2, preserve memory image |
| 09:18 | Same command on build-08, shared service account used | Treat as lateral movement, not isolated malware |
| 09:24 | No outbound C2 in proxy logs, SMB signing failures rising | Contain at network segment, do not power off hosts |
| 09:41 | Snapshot taken, disk image queued | Eradication can start on one host as a test |
Containment has two forms. Short-term containment stops the spread while keeping systems running for evidence, for example isolating a VLAN, disabling a compromised service account, or blocking an IP at the edge. Long-term containment removes the affected system from production while it is rebuilt. The trade-off is explicit: powering off build-07 at 09:12 would have destroyed volatile memory and the process tree that proved the shared account was the vector. Isolating the segment cost us build capacity for about 40 minutes, which was cheaper than losing the root cause.
Eradication is where engineers most often declare victory too early. Deleting the malware file is not eradication. I check persistence mechanisms (scheduled tasks, registry run keys, systemd units, CI runners), rotate every credential the host touched, and hunt for the same indicators across the fleet. A simple check I run in Python against an exported process list:
# Python 3.11, checked against a CSV export from EDR
import csv
bad_parents = {"rundll32.exe", "mshta.exe"}
with open("processes.csv", newline="") as f:
for row in csv.DictReader(f):
if row["parent"].lower() in bad_parents and "vssadmin" in row["cmd"].lower():
print(row["host"], row["pid"], row["cmd"])If that query returns a third host, eradication is not done, however clean the first two look.
Recovery is staged, not a switch back on. I bring hosts back in a canary order, watch for re-infection for at least one full business cycle, and keep enhanced logging until lessons learned closes. The failure mode here is restoring from a backup taken after the initial compromise. I verify backup timestamps against the earliest known malicious activity, not the alert time.
Lessons learned closes the loop: timeline published within five business days, detection gap named, and a tracked action with an owner. If the gap was that vssadmin execution was not alerted on build servers, the fix is a detection rule and a test, not a reminder to be vigilant.
Where I add the most value, as a software engineer, is translating between the security signal and the system. I know which deploys can be rolled back, which queues will replay safely, and which data stores cannot be wiped without breaking customer commitments. That context turns containment from a blunt shutdown into a targeted action, and it is the difference between an incident that lasts hours and one that lasts a week.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-2What is the difference between an indicator of compromise and an indicator of attack, and why does it matter operationally?
Reported in Kudelski Security Incident Response Engineer Interview Questions ...
The 90-second answer
An indicator of compromise (IoC) is an artifact left behind after an intrusion. A file hash, a command-and-control domain, a registry key, a mutex name. It answers: what do we hunt for and block to confirm this host was hit and to find the others?
An indicator of attack (IoA) is a behaviour pattern that describes how the attack works, independent of the specific artifact. A Word document spawning an encoded PowerShell process that then makes an outbound connection is an IoA. It maps to a technique, for example MITRE ATT&CK T1059.001 (PowerShell) or T1204.002 (Malicious File), and it answers: what behaviour do we detect next time, even if the attacker changes the hash and domain tomorrow?
That distinction decides what you build. IoCs go into blocklists and hunt queries. IoAs go into detections. Confusing them gives you a SOC that can only find yesterday's attack.
| IoC | IoA | |
|---|---|---|
| Question answered | Was this host compromised, and where else is the same artifact? | Is this technique being attempted right now? |
| Example | sha256: 9f2c... for a dropped DLL, cdn-metrics.example.net resolving to 203.0.113.44 | WINWORD.EXE -> powershell.exe -enc ... -> rundll32.exe, with the child process making a network call within 10 seconds |
| Shelf life | Hours to days. Attackers rotate infrastructure and recompile payloads. | Months to years, until the technique itself is patched or abandoned. |
| Main risk | Stale or shared. Blocking a CDN IP or a common hash breaks production or misses the next variant. | Overbroad. Admin scripts and software installers can look like the same process tree. |
| Where it lives in code | Threat intel feed, firewall and proxy blocklist, EDR hunt query | Detection rule in version control, tested like any other code |
Why it matters operationally
An IoC-only operation is reactive by construction. You wait for a vendor feed or a forensic image, extract the hash and domain, push them to the proxy, and hope the actor has not already moved. In a typical ransomware precursor case, the initial access broker changes C2 domains every 6 to 24 hours. By the time the IoC is published, the fleet that was hit is already known and the next victim is using a fresh domain.
An IoA lets you detect the attempt before the artifact is known. The process tree above fires on the first host, even if the payload hash has never been seen. That buys time to isolate the host, capture memory, and hunt backwards for the document that started the chain.
The trade-off is tuning cost. IoCs are cheap to consume and easy to explain to an incident commander: this hash equals this incident. IoAs need baselining. You have to know that your build system legitimately runs powershell -enc from a parent process, or your detection will page the SOC on every deploy.
How I would implement it as an engineer
I treat an IoA as a Sigma or YARA rule in Git, with unit tests against benign and malicious samples, not as a dashboard tweak. A minimal Sigma version of the example above:
title: Office App Spawns Encoded PowerShell
logsource:
category: process_creation
product: windows
detection:
selection:
ParentImage|endswith: ['\\WINWORD.EXE', '\\EXCEL.EXE', '\\OUTLOOK.EXE']
Image|endswith: '\\powershell.exe'
CommandLine|contains: ' -enc '
filter_main:
User|startswith: 'SYSTEM'
condition: selection and not filter_main
level: high
tags:
- attack.execution
- attack.t1059.001The IoC side is a separate, expiring artifact. I would push the extracted domain to the proxy with a 72-hour TTL and a ticket reference, then auto-expire it. Without expiry, blocklists fill with dead infrastructure and, worse, with IPs that get reassigned to legitimate services. That is a concrete failure mode I have seen: a blocked cloud IP later assigned to a customer-facing API, causing an outage that looks like a network fault.
Failure modes to name in the interview
-
IoC poisoning and false positives. A hash shared on a public feed can be a signed system binary with a modified timestamp. Blocking it fleet-wide breaks the OS. Mitigation: require two independent sources or a local forensic confirmation before a fleet-wide block, and scope the first block to the affected segment.
-
IoA blind spots from telemetry gaps. The rule above is useless if you do not collect process creation with command lines on servers, or if PowerShell logging is off. Detection coverage is a data pipeline problem, not a rule problem. I would measure coverage as percentage of endpoints sending
process_creationevents in the last hour, and alert on the gap itself. -
Alert fatigue from an untuned IoA. If the rule fires 200 times a day on legitimate macros, analysts stop trusting it and the real hit gets closed as noise. I would track precision per rule, tune the
filter_mainexclusions from observed benign hits, and retire or demote rules that stay below an agreed precision threshold for two weeks.
In short: IoCs tell you where the attack has been and let you eradicate it. IoAs tell you how it works and let you stop the next one. A mature operation needs both, with IoCs expiring fast and IoAs versioned, tested, and measured like production code.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-3You suspect lateral movement across Windows hosts. Which logs and artifacts do you examine first?
Reported in Kudelski Security Incident Response Engineer Interview Questions ...
The 90-second answer
I start with authentication and remote execution, because lateral movement leaves a logon before it leaves a file. In a domain I pull the Security log from the domain controllers and the destination hosts: 4624 for successful logon, 4625 for failures, 4648 for explicit credentials, 4672 for special privileges, and 4768, 4769 and 4776 for Kerberos and NTLM validation. I filter for logon types 3 (network/SMB), 8 (network cleartext), 9 (new credentials), 10 (remote interactive/RDP) and 11 (cached interactive). A single account logging on to many hosts in minutes, especially with type 9 or 10, is the pattern I chase first.
Next I look at what ran after that logon. Sysmon 1 for process creation with parent and command line, Sysmon 3 for network connections, Sysmon 11 for file creation, and PowerShell 4103 and 4104 for script blocks. On hosts without Sysmon I fall back to Security 4688, which needs command line auditing enabled to be useful, plus 5140 and 5145 for SMB shares and 7045 and 4697 for new services. Service creation is a common execution path for PsExec style tools, and it shows up even when the binary itself is dropped to a temp folder and deleted.
Then I check persistence and credential access on the source host: registry Run keys, scheduled tasks (4698, 4702), WMI subscriptions, and access to LSASS or SAM. Those tell me whether this was a one off hop or a foothold the actor intended to keep.
A worked trace
Hypothetical timeline from a hunt I would run in the SIEM, times normalised to UTC:
| Time | Host | Event | What it suggests |
|---|---|---|---|
| 02:11:04 | WS-114 | 4624, Logon Type 9, user svc-backup | Explicit credentials used from an interactive session |
| 02:11:19 | WS-114 | Sysmon 1, parent explorer.exe, child psexec.exe -s | Remote service execution attempt |
| 02:11:31 | FILE-02 | 5145, share \\FILE-02\C$, user svc-backup | Admin share access over SMB |
| 02:11:44 | FILE-02 | 7045, new service PSEXESVC | Service based execution on the target |
| 02:12:02 | FILE-02 | Sysmon 3, FILE-02 to DC-01:445 | Onward hop from the second host |
| 02:12:40 | DC-01 | 4769, service ticket for cifs/WS-207 | Kerberos ticket requested for the next target |
No single row proves movement. The chain does: same account, admin share, service creation, then a fresh outbound connection from a host that account had not touched before.
Hunt query
KQL for Microsoft Sentinel, assuming Sysmon and Security logs are ingested:
SecurityEvent
| where EventID in (4624, 4648)
| where LogonType in (3, 8, 9, 10)
| summarize Hosts = dcount(DeviceName), Logons = count() by Account, bin(TimeGenerated, 10m)
| where Hosts >= 3
| order by TimeGenerated descI tune the threshold per environment. A backup service account legitimately touches many hosts, so I baseline per account and alert on deviation in host count, logon type, or time of day rather than a fixed number.
Where this breaks down
Log coverage is the main blind spot. Default Windows event log sizes overwrite quickly on busy hosts, and an actor with admin rights can clear logs, which itself generates 1102, or stop the Sysmon service. Pass the hash and overpass the hash reuse existing tickets, so 4624 may show a normal looking logon with no preceding 4769. RDP through a jump host also hides the true source, since the destination only sees the jump host as the origin.
That is why I corroborate with network telemetry. Zeek conn.log and smb.log, firewall denies, and EDR network events survive log clearing on the host and show the connection even when the local log is gone. If the SIEM and the network disagree, I trust the network for the hop and the host for what executed.
For preservation I image the source and first destination before rebooting, capture memory if LSASS access is suspected, and export the raw EVTX files with their hashes. Rebooting wipes volatile process and network data, and pulling the plug loses memory entirely, so live capture comes first when credential theft is in play.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-4How do you use MITRE ATT&CK during an active investigation?
Reported in Kudelski Security Incident Response Engineer Interview Questions ...
The 90-second answer
I use MITRE ATT&CK as the common language between detection, hunting and response, and as a checklist for what telemetry I should have. When an alert fires I map the observed behaviour to a technique and sub-technique, state the hypothesis that mapping implies, then hunt for the other steps that technique normally needs. That turns a single alert into a scoped investigation and a detection I can defend in code review.
ATT&CK Enterprise describes adversary tactics and techniques, for example Execution, Persistence and Defence Evasion, with technique IDs such as T1059.001 for PowerShell. It does not tell me what happened on a host. It tells me what to look for next and what data source would prove or disprove it.
A worked trace
Suppose EDR reports powershell.exe -enc launched by winword.exe on a finance workstation. I map that first to T1059.001, Command and Scripting Interpreter: PowerShell, and also consider T1204.002, User Execution: Malicious File, because the parent process matters. The hypothesis is not "PowerShell ran." It is "a document opened by the user spawned an encoded PowerShell process, which then tried to download a payload or dump credentials."
| Time | Observation | ATT&CK mapping | Next query |
|---|---|---|---|
| 09:14:02 | winword.exe spawns powershell.exe -enc | T1059.001, T1204.002 | Process tree and command line for 30 minutes either side |
| 09:14:09 | PowerShell makes outbound HTTPS to a newly registered domain | T1071.001, Web Protocols | Proxy and DNS logs for that domain across the fleet |
| 09:14:31 | rundll32.exe spawned by PowerShell, no signed path | T1218.011, Rundll32 | Parent-child chain and image load events |
| 09:15:00 | lsass.exe handle opened by rundll32.exe | T1003.001, LSASS Memory | EDR memory access events, check for credential access on other hosts |
Each row either expands scope or narrows it. If the fleet hunt for that domain returns only this host, containment stays local. If three hosts show the same parent-child chain, I treat it as a campaign and pivot to mail gateway logs for the original document.
Turning the mapping into a detection
As a software engineer I want that logic in version control, tagged with the technique so coverage can be measured. A Sigma-style rule for the first step looks like this:
title: Encoded PowerShell Spawned by Office Application
id: 8f4a2c10-1111-4a11-9a11-000000000001
logsource:
category: process_creation
product: windows
detection:
selection:
ParentImage|endswith:
- '\\WINWORD.EXE'
- '\\EXCEL.EXE'
Image|endswith: '\\powershell.exe'
CommandLine|contains:
- ' -enc'
- ' -EncodedCommand'
filter_main:
CommandLine|contains: ' -enc '
condition: selection and not filter_main
level: high
tags:
- attack.execution
- attack.t1059.001
- attack.t1204.002I test it against the trace above, then against benign admin scripts that also use encoded commands. The parent process condition is what keeps false positives down. Without it, every deployment script becomes an incident.
Where this breaks down
ATT&CK mapping can create false confidence. A technique ID describes a class of behaviour, and several unrelated tools can land in the same technique. I have seen teams close an investigation because "it was only T1059.001," when the real question was what the script did after it started.
Data source gaps are the other common failure. If I have process creation but no script block logging, I can see PowerShell ran and cannot see what it executed. Mapping to T1059.001 then tells me exactly which log to enable, PowerShell Script Block Logging and Module Logging, and that the investigation is inconclusive until I have it. I record that gap explicitly instead of guessing.
Version drift matters in code. Technique IDs and sub-technique splits change between ATT&CK releases, and detection-as-code that hardcodes an ID without the release it was mapped against will rot. I store the technique ID, the ATT&CK version used for the mapping, and the evidence that justified it in the detection repository. When we upgrade, we revalidate the mappings that changed.
Used that way, ATT&CK does three jobs in an active investigation: it names what I think I am seeing, it tells me which telemetry to query next, and it leaves an artefact another engineer can rerun after I hand off the case.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-5Explain the order of volatility and how it shapes evidence collection?
Reported in Kudelski Security Incident Response Engineer Interview Questions ...
The 90-second answer
Order of volatility, from RFC 3227, is the order in which evidence disappears if you do nothing. You collect in that order, because anything you do to a live system destroys the evidence at the top of the list first.
The classic order is registers and CPU cache, main memory, network connections and ARP cache, running processes, disk, remote logs, and archives. In practice I compress that to: live state first, then memory, then disk, then off-host data. Rebooting, killing a process, or pulling the plug destroys the top layers and can also destroy the keys that make disk evidence readable.
For a software engineer building or using IR tooling, that means the collection tool has to be designed for a live, untrusted host. It runs from trusted media, writes to separate media, hashes as it goes, and never installs or writes to the evidence disk.
| Priority | Evidence | Why it vanishes | Typical capture |
|---|---|---|---|
| 1 | Registers, cache, CPU state | Lost on power loss or reboot | Only via live memory acquisition, often incomplete |
| 2 | RAM | Lost on reboot, overwritten by new processes | Full memory image with LiME, AVML, or Velociraptor |
| 3 | Network connections, ARP, DNS cache | Time out in seconds to minutes | ss, netstat, packet capture if already running |
| 4 | Running processes, open handles, loaded modules | Exit or are killed | Process list with command line, parent, user, open files |
| 5 | Disk, filesystem, deleted file remnants | Survives reboot, but changes as the OS runs | Forensic image through a write blocker, SHA-256 hashed |
| 6 | Remote logs, cloud control plane, archives | Survives host loss, but retention expires | SIEM, cloud audit logs, backups, pulled before retention ends |
How it shapes a collection run
Isolation comes first, but it is a trade-off. Disconnecting stops an attacker reaching out and stops new evidence arriving, yet it also kills live connections you wanted to record. So I record connections and DNS cache before isolation where possible, or isolate by firewall rule that blocks new outbound traffic while preserving established sessions for capture.
A minimal live capture on Linux, run from external media, looks like this. The point is read-only access to the host and writes only to the evidence volume.
# Run from trusted USB media, output to /evidence (separate disk)
mkdir -p /evidence/host1
ss -tulpn -p > /evidence/host1/network.txt 2>&1
ps auxwwf > /evidence/host1/processes.txt 2>&1
ls -l /proc/*/exe /proc/*/cwd 2>/dev/null > /evidence/host1/handles.txt
# Memory acquisition, example with AVML (no kernel module required)
avml /evidence/host1/memory.lime
sha256sum /evidence/host1/* | tee /evidence/host1/SHA256SUMSEvery file gets hashed at capture time, not later. If the hash is computed after transport, you cannot prove the image on the analysis workstation matches what was on the host. I log who collected it, when in UTC, what tool and version, and where the media was stored. That chain of custody record is what makes the evidence usable outside the IR team.
Failure modes I design against
Rebooting to install a tool or to get a clean disk image destroys RAM and any process that was running only in memory, which is where fileless malware often lives. Pulling the plug preserves disk but loses RAM and, on a full-disk-encrypted host, loses the encryption keys held only in memory, so the disk image becomes unreadable. Running a scanner or antivirus on the host writes to disk, updates access times, and can quarantine the very malware you need to analyse.
Cloud and container hosts compress the order. An ephemeral container can be terminated by autoscaling in minutes, so memory and process state may be gone before disk ever matters. There I pull the container filesystem and the orchestrator audit log first, and I treat the cloud provider logs as the remote log tier, with a short retention window that drives urgency.
When the interviewer pushes, I would add that order of volatility is a prioritisation heuristic, not a legal rule. If a host is already powered off, you start at disk. If legal requires a specific image, you follow that instruction and document the deviation. The principle stays the same: collect the most volatile evidence you can still get, in order, and prove you did not alter what you collected.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-6Contrast short-term and long-term containment. When would you choose each?
Reported in Kudelski Security Incident Response Engineer Interview Questions ...
The 90-second answer
Short-term containment buys time. You stop the attacker spreading in minutes with coarse, reversible moves: isolate the host from the network, disable the compromised account, revoke sessions and tokens, block the command-and-control domain at the proxy, or take a service offline. You accept business disruption and you expect to undo most of it.
Long-term containment makes the environment safe to keep. You rebuild the host from a known-clean image, patch the exploited vulnerability, rotate every credential the attacker could have read, segment the network so the same path cannot be reused, and hunt for persistence before you reconnect anything. It takes hours to days, it needs change control, and it is where eradication and recovery actually happen.
I choose short-term when spread is fast, scope is still uncertain, or evidence would be destroyed by waiting. I move to long-term as soon as the initial blast radius is bounded and I can fix the root cause without reintroducing the attacker.
| Dimension | Short-term containment | Long-term containment |
|---|---|---|
| Goal | Halt spread and preserve options | Remove foothold and close the path in |
| Typical actions | EDR host isolation, account disable, token revocation, firewall block, service shutdown | Clean rebuild, patch, credential rotation, network segmentation, threat hunt, monitored restore |
| Speed | Minutes | Hours to days |
| Scope | Coarse, often one host, account or IP range | Systemic, covers identity, network and application layers |
| Reversibility | High, designed to be lifted | Low, changes are intended to persist |
| Evidence impact | Can destroy volatile evidence if done carelessly | Allows forensic imaging and hunt before reconnect |
| Business cost | Immediate outage for the contained asset | Planned downtime plus engineering effort |
| Exit criterion | Attacker traffic and lateral movement stop | No persistence found, vulnerability closed, monitoring in place |
Choosing in practice
Three factors decide it. First, velocity. Ransomware encrypting a shared drive or a worm moving host to host cannot wait for a rebuild. Isolating the VLAN in minutes prevents the next 200 hosts becoming victims. Second, confidence. If I only know one endpoint is compromised, a full rebuild of that endpoint is proportionate. If a service account was used from three countries, disabling it and revoking its tokens is the short-term move, and rotating every secret it could access is the long-term one. Third, evidence. Pulling the plug stops spread and also loses volatile memory. EDR isolation keeps the host powered and network-quiet, which preserves RAM for a memory capture before imaging.
A concrete trace from a ransomware case, with times as an example:
| Time | Observation | Containment decision |
|---|---|---|
| 09:12 | EDR alerts on mass file rename on fs-04 | Short-term: isolate fs-04, block its SMB sessions |
| 09:20 | Same process hash seen on ws-118 | Short-term: isolate ws-118, disable its user account |
| 09:35 | Memory capture complete, disk image started | Pause further shutdowns on those hosts |
| 10:10 | Hunt finds no other hosts, entry point was unpatched VPN gateway | Long-term: patch gateway, rotate VPN and domain admin credentials |
| 13:00 | fs-04 rebuilt from clean image, restored from pre-incident backup | Reconnect in segmented VLAN with file integrity monitoring |
Automating the short-term step safely
As a software engineer I would make the first step a single idempotent call, so an analyst cannot double-isolate or miss a host during a noisy incident. The automation should support a dry run and record who approved it.
# Python 3.12, checked against a generic EDR REST API pattern
import requests
def isolate_host(session: requests.Session, host_id: str, ticket: str, dry_run: bool = False) -> dict:
payload = {"host_id": host_id, "ticket": ticket, "mode": "isolate"}
if dry_run:
return {"dry_run": True, "would_isolate": host_id}
resp = session.post("https://edr.internal/api/v1/hosts/isolate", json=payload, timeout=10)
resp.raise_for_status()
return resp.json() # includes isolation_id for later reversalFailure modes to name in the interview: isolating a domain controller or a medical or broadcast playout system can cause a larger outage than the attack, so the playbook needs a protected-assets list and a second approver for tier-zero systems. Blocking an IP at the perimeter can break a shared CDN or a partner API, so block the domain or the specific C2 path first when possible. Reconnecting a rebuilt host too early, before the hunt finishes, is the classic way an incident restarts, which is why long-term containment ends with a monitored restore period, typically 24 to 72 hours of enhanced logging, rather than a clean bill of health on day one.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-7What are living-off-the-land binaries, and why do they complicate detection?
Reported in Kudelski Security Incident Response Engineer Interview Questions ...
The 90-second answer
Living-off-the-land binaries, LOLBins, are legitimate, signed executables already present on Windows and macOS that attackers abuse to perform malicious actions without dropping their own malware. Think rundll32.exe, regsvr32.exe, mshta.exe, powershell.exe, certutil.exe, bitsadmin.exe, msbuild.exe, and wmic.exe. MITRE ATT&CK tracks this under T1218, Signed Binary Proxy Execution, and related techniques like T1105 for ingress tool transfer.
They complicate detection because the binary itself is not malicious. It is Microsoft-signed, present by default, and often allowlisted by application control. A hash or signature check tells you nothing. The maliciousness lives in how it is invoked: the command line, the parent process, what it loads, and what it does next. A hash-based AV verdict of clean is therefore expected, even during an active intrusion.
That shifts detection from the file to the behaviour around the file. In practice I look at four signals together: parent process, full command line, child processes or network connections, and file or registry writes in the same process tree. Any one signal alone is noisy. Together they separate admin use from abuse.
| LOLBin | Legitimate use | Common abuse pattern |
|---|---|---|
powershell.exe | Admin scripts, automation | Encoded command, download cradle, in-memory execution |
certutil.exe | Certificate management | Downloading payloads with -urlcache, decoding base64 files |
mshta.exe | HTML applications | Loading remote HTA, executing script from a URL |
regsvr32.exe | Registering COM components | Loading a remote or local scriptlet with /i:http... |
rundll32.exe | Running DLL entry points | Proxying execution of a malicious DLL or shellcode |
msbuild.exe | Building .NET projects | Executing inline tasks from a crafted XML project file |
Worked trace: same binary, different verdict
| Field | Admin use | Attack use |
|---|---|---|
| Process | powershell.exe | powershell.exe |
| Parent | services.exe or scheduled task host | winword.exe opening an invoice |
| Command line | -File C:\Ops\Backup.ps1 | -enc SQBFAFgA... with a long encoded blob |
| Children | vssadmin.exe | rundll32.exe, then a TCP connection to an external IP |
| Files written | Log file under C:\Ops\logs | Temp\a.dll loaded in memory, no file on disk |
| Verdict | Allow | Alert on parent anomaly plus encoded command plus network egress |
The parent matters most in that trace. PowerShell spawned by Word is rare in a managed estate and should be a high-fidelity alert on its own. PowerShell spawned by your deployment tooling is routine. Context is the detection.
Detection in code
A Sigma-style rule captures the pattern an EDR or Sysmon pipeline can evaluate. This is the shape I would tune against our own telemetry before shipping it:
title: LOLBin Proxy Execution With Suspicious Parent
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\rundll32.exe'
- '\regsvr32.exe'
- '\mshta.exe'
- '\certutil.exe'
- '\msbuild.exe'
filter_main:
ParentImage|endswith:
- '\explorer.exe'
- '\services.exe'
- '\svchost.exe'
filter_suspicious:
CommandLine|contains:
- 'http'
- '-enc'
- '/i:'
- 'javascript:'
condition: selection and not filter_main and filter_suspicious
level: highIn production I would add Sysmon Event ID 1 for process creation with full command line logging, Event ID 3 for network connections, and Event ID 11 for file creation, then join them on process GUID. Without command line logging the rule above is blind, which is the most common gap I see in estates that rely on AV alone.
Trade-offs and failure modes
Blocking LOLBins outright is tempting and usually breaks the estate. rundll32 and PowerShell underpin management tooling, SCCM and Intune deployments, and vendor installers. App control policies that block them generate helpdesk load and get exceptions that attackers then hide behind. The safer control is constrained execution: PowerShell Constrained Language Mode for standard users, AMSI script scanning, and removal of wmic.exe and mshta.exe where the platform allows it, since both are deprecated or optional features in current Windows 11 builds.
False positives come from software distribution and monitoring agents that legitimately spawn these binaries with odd command lines. I handle that with a per-parent allowlist reviewed monthly, not a global allowlist for the binary. If an exception has no owner or expiry, it becomes a blind spot.
The other failure mode is telemetry loss. If command line logging is disabled for performance, or Sysmon is not deployed on servers, detection falls back to file reputation and misses the attack entirely. That is why I treat LOLBin detection as a logging prerequisite first and a rule second. Measure coverage: percentage of endpoints reporting Event ID 1 with command lines, and percentage of LOLBin executions with a known parent. If either number is low, tuning rules is wasted effort.
For a Kudelski-style loop I would close by naming the follow-up I expect: how I would hunt retroactively. I would pivot on the parent process and command line across the fleet for the prior 30 days, look for the same encoded blob or URL, and check for persistence mechanisms that reuse the same proxy. That turns a single alert into scope, which is what incident response actually needs.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-8Walk me through your approach to a ransomware incident from initial call to recovery?
Reported in Kudelski Security Incident Response Engineer Interview Questions ...
The 90-second answer
I treat ransomware as a containment problem first and a recovery problem second. On the initial call I confirm scope, preserve evidence, and stop spread before I chase the malware sample. Only after the attacker loses access do I rebuild, and I rebuild from known-good media, not by cleaning infected hosts.
Assume a mid-size enterprise, 2,000 endpoints, Active Directory, cloud backups, and a SOC that can isolate hosts but cannot yet say whether domain controllers are compromised. If that last point is unknown, I assume they are.
1. Initial call, first 30 minutes: triage and freeze
I ask four questions in order: what is encrypted, how was it first seen, is encryption still running, and what has already been disconnected. I open a bridge, assign a single incident commander, and start a timeline in UTC. Every action gets a timestamp and an owner.
In parallel I preserve volatile evidence before rebooting anything: memory image on one affected host, disk image of the patient zero host, firewall and VPN logs, EDR telemetry, and authentication logs for the preceding 14 days. Reimaging first destroys the entry point.
Containment at this stage is network-level, not host-level. I isolate affected VLANs, disable the compromised service accounts, block the command and control domains at the proxy, and suspend external access to VPN and RDP gateways. I do not power off hosts that are still encrypting, because that can corrupt the forensic image and, in some families, trigger a wiper routine.
2. Eradication: find the entry and the persistence
I hunt backwards from the ransom note and the encrypted file extensions. A typical trace looks like this:
| Time (UTC) | Finding | Source |
|---|---|---|
| 02:14 | Phishing attachment opened, user A | EDR |
| 02:31 | rundll32 spawns PowerShell, Mimikatz-like dump | EDR |
| 03:05 | Domain admin hash used from workstation B | AD logs |
| 03:40 | Backup service account logs in to file server | AD logs |
| 04:10 | Shadow copies deleted, mass file rename | Sysmon |
| 04:22 | Ransom note dropped, encryption starts | SOC alert |
That sequence tells me the attacker had domain admin before encryption. Cleaning endpoints alone will not help. I reset every privileged account from a clean admin workstation, revoke Kerberos tickets twice (to invalidate the krbtgt account), rotate backup and service account passwords, and hunt for persistence: scheduled tasks, new admin users, golden ticket indicators, and rogue GPOs.
As a software engineer I would automate the sweep rather than run it by hand. A small, read-only scanner that hashes files and flags high-entropy renames gives the same result on 2,000 hosts in minutes:
# Python 3.11, run from a clean jump host against an EDR export
import csv, hashlib, sys
from collections import Counter
suspect_exts = {".locked", ".enc", ".crypt"}
counts = Counter()
with open(sys.argv[1], newline="") as f:
for row in csv.DictReader(f):
path = row["file_path"].lower()
if any(path.endswith(e) for e in suspect_exts):
counts[row["host_id"]] += 1
for host, n in counts.most_common(20):
print(host, n)Hosts with zero hits but with the backup account logon are still treated as compromised. Absence of encryption is not absence of access.
3. Recovery: restore in rings, verify before reconnecting
I restore in rings. Ring 0 is identity: a clean domain controller built from offline media, then the second DC, then privileged accounts. Ring 1 is backup infrastructure itself, because restoring data onto a compromised backup server re-infects it. Ring 2 is critical services, Ring 3 is general user workstations.
Before a ring reconnects I verify three things: the image hash matches the known-good backup catalogue, a full AV and EDR scan is clean, and no new persistence has appeared in 24 hours of monitoring. I keep restored systems on an isolated VLAN for that period.
The pay or do not pay decision is not mine alone, but I give the commander facts: whether backups are intact, how many days of data a restore loses, whether a decryptor exists for this family, and what legal and insurer constraints apply. In my experience a clean backup restore, even losing 24 hours of data, beats paying, because payment does not guarantee a working decryptor and does not remove the attacker.
Failure modes I watch for
Rebooting patient zero before imaging, restoring from backups that were mounted and encrypted during the attack, and reconnecting the whole network at once. Each one restarts the incident. I also watch for double extortion: data exfiltrated before encryption. That changes notification duties even if recovery succeeds, so I check egress logs for large uploads to unknown destinations in the 14 days before encryption.
Recovery ends when the business runs on restored systems, not when the last host is cleaned. The follow-up is closing the entry point, enforcing MFA on VPN and privileged accounts, making backups immutable and offline, and testing a restore quarterly. A backup that has never been restored is a hypothesis, not a recovery plan.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-9How do you integrate threat intelligence into an active response?
Reported in Kudelski Security Incident Response Engineer Interview Questions ...
The 90-second answer
I treat threat intelligence as data feeding a decision pipeline, not as a dashboard someone checks during an incident. The pipeline ingests structured intel, normalises it, scores it against local telemetry, and only then triggers a response action. That separation matters because a feed entry on its own tells you nothing about whether it is present in your estate, how fresh it is, or what blocking it would break.
In practice I would build four stages. Ingestion pulls STIX 2.1 objects over TAXII 2.1, or a vendor API where TAXII is unavailable, on a schedule and on demand during an incident. Normalisation maps observables to a common schema: indicator type, value, first seen, last seen, valid until, source, and confidence. Enrichment joins that against asset inventory and recent telemetry in the SIEM or detection platform. Actioning pushes a match to SOAR for a proportionate response, with human approval for anything that blocks traffic, disables an account, or isolates a host.
Scoring before actioning. A single feed hit should rarely auto-block. I score on source reliability, corroboration across feeds, age of the indicator, and whether the value is specific enough to act on. A domain seen in a sandbox detonation last week carries more weight than a hash from an unverified forum post three years ago.
| Intel signal | Typical action | Guardrail |
|---|---|---|
| File hash matched on endpoint, high confidence | Quarantine file, isolate host | Confirm hash is not a signed system binary |
| C2 domain resolved in DNS logs | Block at DNS and proxy, raise incident | Check for shared hosting or CDN use first |
| IP in blocklist, low corroboration | Alert and hunt, no block | Shared IPs can break third party services |
| MITRE technique mapped to observed behaviour | Tighten detection rule, hunt fleet | Validate against false positive rate |
Matching code. The core check is small enough to show. This Python sketch, checked against Python 3.12, matches normalised indicators against events and drops expired intel before it can cause damage.
from datetime import datetime, timezone
def match(event, indicators):
now = datetime.now(timezone.utc)
hits = []
for ind in indicators:
if ind["valid_until"] < now:
continue
if ind["type"] == event["type"] and ind["value"] == event["value"]:
hits.append({**ind, "event_id": event["id"]})
return hitsIn production that loop runs as a streaming join in the SIEM or a search index, not in a cron job. The expiry check is the part people skip, and it is where stale intel causes the worst incidents: a reassigned IP address blocked months later because nobody honoured valid_until.
Failure modes I would name in the interview. Feed poisoning or a compromised source, which I mitigate with signed feeds where available, source allowlisting, and a cap on how much a single source can raise a score. Overblocking, especially on cloud IPs and shared infrastructure, which I mitigate by requiring corroboration for network blocks and by staging blocks with a short TTL first. And silent pipeline failure, where TAXII stops delivering and the SOC assumes coverage, which I mitigate with freshness metrics and an alert if no intel arrives within the expected window.
Feedback loop. Every action writes back an outcome: true positive, false positive, or no match. That record lets you tune thresholds, retire bad sources, and answer the question an incident commander will ask, which is what the intel actually changed during the response. Without that loop you have a feed, not an integration.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-10You are handed a potentially compromised Linux server. What artifacts do you check?
Reported in Kudelski Security Incident Response Engineer Interview Questions ...
The 90-second answer
I isolate the host from the network, I do not power it off, and I work in order of volatility. Memory and live state go first, because a reboot destroys them and an attacker can trigger that loss. I capture running processes, open network connections, logged in sessions, loaded kernel modules and mounted filesystems, then I take a forensic disk image before I run anything else on the box. Only after that image exists do I start reading logs and files on a copy, using tools from trusted media so a rootkit cannot lie to me through compromised binaries.
That order matters at Kudelski scale because the question is rarely whether one file changed. It is whether persistence, execution and exfiltration happened, and whether the logs you are about to trust were tampered with.
What I check, and what each artifact proves
| Artifact | What it reveals | First check |
|---|---|---|
Live processes and ss -tulpn output | Attacker tooling, reverse shells, listening ports, the user and binary behind each socket | ps auxf, ss -tulpn, lsof -i |
Logged in users, last, who | Which accounts were used and from where, including SSH sessions still open | who, last -f /var/log/wtmp, lastlog |
/var/log/auth.log or /var/log/secure, journalctl | Accepted SSH logins, sudo use, su, service starts, failed password spraying | journalctl --since "2026-01-01", grep for Accepted, sudo, COMMAND= |
Shell histories, ~/.bash_history, ~/.zsh_history | Manual commands run by the intruder, downloads, cleanup attempts | Read per user, including root, check timestamps against login times |
| Persistence: cron, systemd, SSH keys | How the attacker survives reboot | /etc/crontab, /var/spool/cron/crontabs/, systemctl list-timers --all, ~/.ssh/authorized_keys, /etc/systemd/system/ |
| Modified system binaries and libraries | Trojans, replaced ps, ls, ss, or an LD_PRELOAD entry | debsums or rpm -Va, cat /etc/ld.so.preload, env for LD_PRELOAD |
| Deleted but still open files | Tools or payloads the attacker deleted while still running | lsof +L1, /proc/*/fd links marked (deleted) |
| Web and application logs, auditd | Initial access vector, webshell uploads, privilege escalation | /var/log/nginx/access.log, /var/log/audit/audit.log |
| Kernel modules and mounts | Rootkit components, hidden mounts, bind mounts over log directories | lsmod, cat /proc/modules, mount, df -i |
Live capture before imaging
# Run from trusted media, output to external media. Checked on Ubuntu 24.04.
mkdir -p /mnt/evidence/$(hostname)-$(date +%F_%H%M)
ps auxf > ps.txt
ss -tulpn > ss.txt
lsof -i -P -n > lsof.txt
lsof +L1 > deleted.txt
lsmod > lsmod.txt
cat /proc/cmdline > cmdline.txt
find /proc/[0-9]* -maxdepth 1 -lname '*/exe' -exec ls -l {} \; 2>/dev/null > proc_exe.txtI compare ps output against /proc/*/exe and /proc/*/cmdline. A process that shows as sshd in ps but whose /proc/<pid>/exe points to /tmp/.cache or a deleted file is a strong signal. I also check for processes with no parent, listening ports with no matching process, and outbound connections to rare external addresses. Those three mismatches catch most fileless and rootkit cases that a file scan misses.
Failure modes I watch for
Log tampering shows up as gaps. I plot log volume per hour and look for a missing window around the first Accepted entry, rotated logs that stop early, or journalctl entries with out of sequence timestamps. A gap does not mean no activity, it means I need to rely on the disk image, auditd if present, and network flow records from the firewall.
Timestamp manipulation is common. Attackers use touch -r to copy timestamps from a legitimate file onto a webshell. I therefore sort by inode change time (ctime) and by file creation where the filesystem supports it, not only by mtime, and I flag files in /tmp, /var/tmp, /dev/shm and web roots that are newer than the package install date.
A rootkit can hide processes, files and connections from ps, ls and ss on the live host. That is why the offline image and a cross check from a clean boot or a hypervisor snapshot matter. If live output and offline directory listings disagree, I trust the offline copy and treat the live host as untrusted for every tool on it.
I finish by scoping: which accounts, which hosts share the same SSH key or the same outbound IP, and whether the same modified binary appears elsewhere. That turns a single host check into an answer about the incident, which is what the next interviewer will ask about.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-11Tell me about a time you managed a high-pressure incident and how you communicated with stakeholders?
Reported in Kudelski Security Incident Response Engineer Interview Questions ...
The 90-second answer
I was incident commander for a compromised CI token that was being used to call our customer data API from an unusual ASN. I did not run the forensics alone. My job was to keep the technical work moving, keep one version of the facts, and make sure no stakeholder learned something different from someone else.
At 02:14 our anomaly alert fired: one service API key, normally 40 requests a day, had made 1,900 requests in 20 minutes and pulled 12,000 customer records. I opened the incident channel, paged the on-call engineer and security lead, and declared a severity 1 at 02:31. That declaration mattered because it triggered the comms cadence and gave me authority to freeze deploys.
What happened, in order
| Time | Event | Decision I owned |
|---|---|---|
| 02:14 | Alert on API key volume and ASN | Page on-call, open incident channel |
| 02:31 | SEV1 declared, deploy freeze | Start 30 minute internal cadence |
| 02:47 | Key revoked, ASN blocked at edge | Accept brief API errors for that tenant to stop exfiltration |
| 03:20 | Logs show 12,000 records, 3 tenants affected | Notify legal and privacy, start evidence preservation |
| 04:05 | CI job traced to a leaked token in a build log | Rotate all CI secrets, not just the one key |
| 06:30 | No further anomalous calls for 2 hours | Move to hourly external updates, begin customer letter |
Containment was the hard call. Revoking the key broke a legitimate nightly sync for one tenant. I told that tenant's account manager at 02:52, before the sync failed at 03:00, and gave her the workaround. She could warn the customer instead of discovering it.
How I communicated
I used one incident log as the source of truth and banned parallel updates in chat threads. Every update had the same shape: what we know, what we do not know yet, what changed since the last update, and the time of the next update. Numbers only went out once security had confirmed them from the access logs. Early on I said "at least 3 tenants" rather than guessing a final count.
| Stakeholder | What they got | Channel and cadence |
|---|---|---|
| Engineering | Technical detail, IOCs, log queries | Incident channel, every 30 minutes |
| Security and legal | Evidence timeline, affected records, preservation status | Private channel, every 30 minutes |
| Support and account managers | Approved customer wording, what not to speculate on | Briefing call, hourly |
| Executives | Impact, containment status, next decision needed | One page update, hourly |
| Affected customers | Direct notification after legal review | Email and account manager call, once confirmed |
Two failure modes I watched for. First, premature root cause. At 03:00 someone wanted to announce "phishing" as the cause. The token was in a build log, so I kept the cause as "under investigation" until we had the log line. Second, inconsistent figures. Support had 10,000 records from an early query, security had 12,000 from the full log. I froze external numbers until both used the same query and time window.
We closed the incident at 09:40. The postmortem, two days later, added short lived tokens for CI, secret scanning on build logs, and an egress allowlist per service key. The part I would repeat is the fixed cadence. People tolerate bad news when they know when the next update arrives and that it will not contradict the last one.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Q&A-12Walk me through a significant IR or DFIR engagement from your CV. What was your specific role and what did you learn?
Reported in Kudelski Security Incident Response Engineer Interview Questions ...
The 90-second answer
The engagement I would pick is a ransomware precursor I led for a 400-person logistics firm in 2024. The alert was a single EDR detection for rundll32.exe spawning cmd.exe on a file server at 02:14. My role was DFIR lead for a team of three. I owned scoping, evidence preservation, and the decision on when to pull the network. The client wanted us to delete the malware and reboot. I pushed for a 6-hour hold on rebooting the server because the memory image and the VPN logs were the only place we would see how the attacker got in.
We found the entry point was a stale VPN account with no MFA, used 11 days earlier. The attacker had staged data with rclone, created a second admin account, and left a scheduled task that would have triggered encryption the following Monday. We contained by disabling the accounts and isolating the server, not by wiping it. Eradication took two days. The lesson I took into every later engagement: the first alert is rarely the intrusion, it is the moment the attacker got careless.
What I actually did, in order
First hour was triage and preservation. I had the team capture a memory image of the file server before any reboot, export the VPN concentrator logs for the prior 30 days, and pull Windows Security event logs (4624, 4625, 4688, 4698) from the domain controllers. Order of volatility mattered here. Disk would survive a reboot. The process tree and the rclone command line in memory would not.
Scoping came from the VPN logs, not from the EDR. One account, svc-backup-02, authenticated from a residential ASN at 01:47, 11 days before the alert, and then authenticated to the file server over SMB. That account had been dormant for 14 months. We then hunted for every host it touched.
// KQL, Microsoft Sentinel. Hunt for the dormant service account.
DeviceLogonEvents
| where Timestamp > ago(30d)
| where AccountName =~ "svc-backup-02"
| project Timestamp, DeviceName, ActionType, RemoteUrl, RemoteIP
| sort by Timestamp ascThat query returned four hosts. Two were clean. One had the scheduled task. One had outbound rclone traffic to a storage bucket that was later confirmed as staging. Without that account name, we would have scoped to one server and missed the staging host.
Timeline we reconstructed
| Time (UTC) | Event | Source |
|---|---|---|
| 11 days prior, 01:47 | Dormant VPN account authenticates from residential ASN | VPN concentrator |
| 11 days prior, 02:03 | SMB logon to FILE01, rclone process starts | DC 4624, memory image |
| 9 days prior, 23:31 | Second local admin account created | DC 4728 |
| 02:14, day of alert | rundll32 spawns cmd, EDR alert fires | EDR telemetry |
| +3 hours | Server isolated, accounts disabled, images taken | DFIR log |
| +2 days | Scheduled task removed, staging bucket reported to provider | Host artifact, provider ticket |
The mermaid view is the decision path I used, and still use, when a client pressures for a fast wipe:
What I learned, and what I changed
Three concrete changes came out of this. First, I stopped treating EDR alert time as incident start. We now request 30 days of identity and VPN logs in the first call, because dwell time here was 11 days and the encryption task was still 4 days out. Second, I added a check for dormant accounts to the standard hunt pack. An account unused for over a year that suddenly authenticates over VPN is a higher signal than most malware detections. Third, I learned to put the cost of a premature reboot in writing. The client signed a one-page risk note agreeing to the 6-hour hold. That note ended the argument and gave the legal team a record of why we preserved evidence.
If I ran it again I would push harder on one point. We disabled the VPN account within 3 hours, but we left the second admin account active for 5 hours while we confirmed it was attacker-created. That window was unnecessary risk. Now I disable first and confirm second, and I tell the client that order explicitly at the start.
Curated: · Written: · Reviewed:
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.
Curated: · Written: · Reviewed: