ECCouncil 312-49v11 (Computer Hacking Forensic Investigator) Practice Test 38

Question 370

An unauthorized script appears to launch every night under a service account. Which scheduling mechanism should be examined?

  1. /proc runtime view
  2. Cron persistence
  3. systemd journal
  4. utmp/wtmp logon accounting

Explanation

Correct Answer

B:

Cron tables and cron directories define scheduled commands on many Linux systems. Inspect the relevant user's schedule and system-wide jobs with permissions and timestamps.

Incorrect Answers

A:

A case involving live Linux process descriptors and memory mappings might use this approach: /proc exposes process and kernel runtime state such as fd links, status and maps; the required result here is recurring Linux time-based job execution. Its contents change as processes exit and should be collected promptly; it cannot replace proof about recurring Linux time-based job execution.

C:

Although the case asks about recurring Linux time-based job execution, systemd-journald can store service, kernel and boot-associated entries with structured fields; the action instead concerns structured Linux service events for a given boot. Persistence and retention depend on journal configuration; it does not establish recurring Linux time-based job execution.

D:

For an analysis centered on historical Linux login sessions, wtmp-related records can document login and logout activity, subject to rotation and tampering; the present need is recurring Linux time-based job execution. Current session views such as utmp answer a different temporal question; a different finding about recurring Linux time-based job execution is still needed.

Question 371

A custom binary restarts automatically under a named unit after the machine reboots. Which configuration is relevant?

  1. lastlog records
  2. systemd service persistence
  3. Linux auditd events
  4. /proc runtime view

Explanation

Correct Answer

B:

systemd unit files define service execution, dependencies and restart policies. Unit enablement and journal records can explain recurring launches.

Incorrect Answers

A:

Even though the scenario needs Linux service configuration that enables persistence, lastlog information may show last login times by account on systems using it; the action relates to most recent login record per local account. It is not a complete list of all authentications and may be absent or outdated; this remains insufficient for Linux service configuration that enables persistence.

C:

The objective here is Linux service configuration that enables persistence; auditd records kernel audit events according to loaded rules, including account and syscall context; the option would instead inform policy-defined Linux security audit operations. Coverage depends on the rules effective before the incident; it is not direct evidence of Linux service configuration that enables persistence.

D:

For a separate investigation of live Linux process descriptors and memory mappings, /proc exposes process and kernel runtime state such as fd links, status and maps; that is not the determination of Linux service configuration that enables persistence in the stem. Its contents change as processes exit and should be collected promptly; the evidence still must speak to Linux service configuration that enables persistence.

Question 372

On a running Linux host, investigators need a process's open file descriptors and current mappings. Which virtual filesystem supplies those views?

  1. /proc runtime view
  2. systemd journal
  3. Linux auditd events
  4. Secure log RHEL

Explanation

Correct Answer

A:

/proc exposes process and kernel runtime state such as fd links, status and maps. Its contents change as processes exit and should be collected promptly.

Incorrect Answers

B:

In work concerning structured Linux service events for a given boot, systemd-journald can store service, kernel and boot-associated entries with structured fields; the operation would not resolve live Linux process descriptors and memory mappings. Persistence and retention depend on journal configuration; the distinction leaves live Linux process descriptors and memory mappings unsettled.

C:

A case involving policy-defined Linux security audit operations might use this approach: auditd records kernel audit events according to loaded rules, including account and syscall context; the required result here is live Linux process descriptors and memory mappings. Coverage depends on the rules effective before the incident; it cannot replace proof about live Linux process descriptors and memory mappings.

D:

The required finding is about live Linux process descriptors and memory mappings; systems using rsyslog often place authentication and security records in /var/log/secure; this addresses the separate concern of authentication events on Red Hat-family systems. Configuration and modern journaling can change where events are found; it does not by itself answer live Linux process descriptors and memory mappings.

Question 373

A Unix investigator wants historic login-session records rather than only current authenticated users. Which accounting source may help?

  1. Bash history
  2. Secure log RHEL
  3. utmp/wtmp logon accounting
  4. Auth log SSH entries

Explanation

Correct Answer

C:

wtmp-related records can document login and logout activity, subject to rotation and tampering. Current session views such as utmp answer a different temporal question.

Incorrect Answers

A:

The current inquiry asks about historical Linux login sessions; shell history files can contain previously entered commands, though sessions, settings and deliberate suppression affect completeness; this mechanism chiefly addresses commands entered in an interactive shell. They are not authoritative execution logs; it cannot prove historical Linux login sessions on its own.

B:

In an inquiry concerning authentication events on Red Hat-family systems, systems using rsyslog often place authentication and security records in /var/log/secure; the scope does not extend to historical Linux login sessions. Configuration and modern journaling can change where events are found; that issue cannot settle historical Linux login sessions.

D:

For the separate question of SSH authentication attempts on Debian-family Linux, on many Debian-based systems, /var/log/auth.log contains authentication events including SSH and sudo activity, depending on logging configuration; the requested assessment of historical Linux login sessions remains open. Journal records may also be relevant; there is no direct finding about historical Linux login sessions.

Question 374

A responder wants to know the most recent recorded login for each local user on a Linux system. Which facility is relevant?

  1. /proc runtime view
  2. utmp/wtmp logon accounting
  3. Auth log SSH entries
  4. lastlog records

Explanation

Correct Answer

D:

lastlog information may show last login times by account on systems using it. It is not a complete list of all authentications and may be absent or outdated.

Incorrect Answers

A:

For questions about live Linux process descriptors and memory mappings, /proc exposes process and kernel runtime state such as fd links, status and maps; that differs from most recent login record per local account. Its contents change as processes exit and should be collected promptly; it provides no direct answer to most recent login record per local account.

B:

The stem asks about most recent login record per local account; wtmp-related records can document login and logout activity, subject to rotation and tampering; the described operation is used for historical Linux login sessions. Current session views such as utmp answer a different temporal question; a determination about most recent login record per local account requires other support.

C:

Instead of a method addressing most recent login record per local account, on many Debian-based systems, /var/log/auth.log contains authentication events including SSH and sudo activity, depending on logging configuration; this one concerns SSH authentication attempts on Debian-family Linux. Journal records may also be relevant; it cannot independently determine most recent login record per local account.

Question 375

A host is configured to audit specified file access and process system calls. Which source gives the most targeted security audit records?

  1. Linux auditd events
  2. Auth log SSH entries
  3. utmp/wtmp logon accounting
  4. lastlog records
  5. Secure log RHEL

Explanation

Correct Answer

A:

auditd records kernel audit events according to loaded rules, including account and syscall context. Coverage depends on the rules effective before the incident.

Incorrect Answers

B:

When the investigative task is SSH authentication attempts on Debian-family Linux, on many Debian-based systems, /var/log/auth.log contains authentication events including SSH and sudo activity, depending on logging configuration; that differs from the question about policy-defined Linux security audit operations. Journal records may also be relevant; that leaves policy-defined Linux security audit operations unresolved.

C:

The current inquiry asks about policy-defined Linux security audit operations; wtmp-related records can document login and logout activity, subject to rotation and tampering; this mechanism chiefly addresses historical Linux login sessions. Current session views such as utmp answer a different temporal question; it cannot prove policy-defined Linux security audit operations on its own.

D:

In an inquiry concerning most recent login record per local account, lastlog information may show last login times by account on systems using it; the scope does not extend to policy-defined Linux security audit operations. It is not a complete list of all authentications and may be absent or outdated; that issue cannot settle policy-defined Linux security audit operations.

E:

Even though the scenario needs policy-defined Linux security audit operations, systems using rsyslog often place authentication and security records in /var/log/secure; the action relates to authentication events on Red Hat-family systems. Configuration and modern journaling can change where events are found; this remains insufficient for policy-defined Linux security audit operations.

Question 376

An investigator seeks filesystem change notifications for directories on a Mac even after some files were moved. Which artifact is useful?

  1. FSEvents records
  2. TCC database
  3. Unified log predicate search
  4. LaunchAgents plist

Explanation

Correct Answer

A:

FSEvents records path-level filesystem changes for indexed volumes, with retention and detail limitations. It does not provide full file contents or direct user intent.

Incorrect Answers

B:

With macOS filesystem change history as the investigative issue, transparency, Consent and Control databases store privacy-related authorization decisions where accessible; the result would concern macOS app privacy authorization state. Grant semantics and database locations vary by system version; this would not resolve macOS filesystem change history.

C:

For questions about selective querying of macOS structured logs, unified log tools can filter structured messages by process, subsystem, category and time; that differs from macOS filesystem change history. Filters improve focus but underlying logging privacy and retention still constrain evidence; it provides no direct answer to macOS filesystem change history.

D:

The stem asks about macOS filesystem change history; launchAgents define per-user or session-level jobs managed by launchd; the described operation is used for macOS user-session startup jobs. Their location and configuration help identify login persistence distinct from system daemons; a determination about macOS filesystem change history requires other support.

Question 377

A Mac user's device usage patterns and app activities are under investigation. Which database can supply certain contextual activity records?

  1. Recent Items plist
  2. macOS keychain
  3. TCC database
  4. KnowledgeC database

Explanation

Correct Answer

D:

KnowledgeC and related CoreDuet artifacts can retain usage and device activity context, dependent on macOS version and permissions. Interpret entries using platform-specific schemas.

Incorrect Answers

A:

The required finding is about contextual macOS application usage data; recent-items preference data may retain references to recently used resources, varying by macOS version; this addresses the separate concern of macOS recently used resource references. These hints are not exhaustive proof of opening content; it does not by itself answer contextual macOS application usage data.

B:

Although the case asks about contextual macOS application usage data, keychain services store protected secrets and certificate-related items with access policies; the action instead concerns protected macOS credentials and certificates. Extraction depends on authorization, unlocked state and cryptographic protections; it does not establish contextual macOS application usage data.

C:

For an analysis centered on macOS app privacy authorization state, transparency, Consent and Control databases store privacy-related authorization decisions where accessible; the present need is contextual macOS application usage data. Grant semantics and database locations vary by system version; a different finding about contextual macOS application usage data is still needed.

Question 378

An application was downloaded through a browser and origin URL evidence may survive. Which macOS database is relevant?

  1. FSEvents records
  2. macOS keychain
  3. Recent Items plist
  4. QuarantineEventsV2

Explanation

Correct Answer

D:

The quarantine events database can associate downloaded files with agents and origin information where recorded. Entries may be deleted or absent for other transfer methods.

Incorrect Answers

A:

For the separate question of macOS filesystem change history, FSEvents records path-level filesystem changes for indexed volumes, with retention and detail limitations; the requested assessment of macOS download provenance events remains open. It does not provide full file contents or direct user intent; there is no direct finding about macOS download provenance events.

B:

The objective here is macOS download provenance events; keychain services store protected secrets and certificate-related items with access policies; the option would instead inform protected macOS credentials and certificates. Extraction depends on authorization, unlocked state and cryptographic protections; it is not direct evidence of macOS download provenance events.

C:

For a separate investigation of macOS recently used resource references, recent-items preference data may retain references to recently used resources, varying by macOS version; that is not the determination of macOS download provenance events in the stem. These hints are not exhaustive proof of opening content; the evidence still must speak to macOS download provenance events.

Question 379

An examiner wants a user's recently referenced applications and documents on a Mac. Which user configuration artifact family is relevant?

  1. QuarantineEventsV2
  2. FSEvents records
  3. KnowledgeC database
  4. Recent Items plist
  5. LaunchDaemons plist

Explanation

Correct Answer

D:

Recent-items preference data may retain references to recently used resources, varying by macOS version. These hints are not exhaustive proof of opening content.

Incorrect Answers

A:

In work concerning macOS download provenance events, the quarantine events database can associate downloaded files with agents and origin information where recorded; the operation would not resolve macOS recently used resource references. Entries may be deleted or absent for other transfer methods; the distinction leaves macOS recently used resource references unsettled.

B:

A case involving macOS filesystem change history might use this approach: FSEvents records path-level filesystem changes for indexed volumes, with retention and detail limitations; the required result here is macOS recently used resource references. It does not provide full file contents or direct user intent; it cannot replace proof about macOS recently used resource references.

C:

The required finding is about macOS recently used resource references; knowledgeC and related CoreDuet artifacts can retain usage and device activity context, dependent on macOS version and permissions; this addresses the separate concern of contextual macOS application usage data. Interpret entries using platform-specific schemas; it does not by itself answer macOS recently used resource references.

E:

For an analysis centered on macOS system-level background startup jobs, launchDaemons configure system-level launchd jobs, usually outside ordinary user sessions; the present need is macOS recently used resource references. Analyze plist paths, permissions and executable targets; a different finding about macOS recently used resource references is still needed.

Question 380

A Mac inquiry must distinguish programs configured for a user login session from background jobs loaded at system startup without user sign-in. Which TWO launchd configuration families correspond to these modes? Choose TWO.

  1. LaunchAgents plist
  2. Recent Items plist
  3. macOS keychain
  4. Unified log predicate search
  5. LaunchDaemons plist

Explanation

Correct Answers

A:

In this combined inquiry, launchAgents define per-user or session-level jobs managed by launchd; their location and configuration help identify login persistence distinct from system daemons. This addresses macOS user-session startup jobs.

E:

In this combined inquiry, launchDaemons configure system-level launchd jobs, usually outside ordinary user sessions; analyze plist paths, permissions and executable targets. This addresses macOS system-level background startup jobs.

Incorrect Answers

B:

Even though the scenario needs both macOS user-session startup jobs and macOS system-level background startup jobs, recent-items preference data may retain references to recently used resources, varying by macOS version; the action relates to macOS recently used resource references. These hints are not exhaustive proof of opening content; this remains insufficient for both macOS user-session startup jobs and macOS system-level background startup jobs.

C:

For the separate question of protected macOS credentials and certificates, keychain services store protected secrets and certificate-related items with access policies; the requested assessment of both macOS user-session startup jobs and macOS system-level background startup jobs remains open. Extraction depends on authorization, unlocked state and cryptographic protections; there is no direct finding about both macOS user-session startup jobs and macOS system-level background startup jobs.

D:

The objective here is both macOS user-session startup jobs and macOS system-level background startup jobs; unified log tools can filter structured messages by process, subsystem, category and time; the option would instead inform selective querying of macOS structured logs. Filters improve focus but underlying logging privacy and retention still constrain evidence; it is not direct evidence of both macOS user-session startup jobs and macOS system-level background startup jobs.

Computer Hacking Forensic Investigator (312-49v11) Practice Tests