OPIM 3207 Unit 11: Application and Mobile Security

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/38

flashcard set

Earn XP

Description and Tags

Comprehensive practice flashcards for OPIM 3207 Unit 11 covering core vocabulary, trust boundaries, confusion pairs, and scenario analyses.

39 Terms

1
New cards

How does the Unit 11 study guide define input validation, and what is its context example?

Input validation is defined as checking whether input matches expected type, length, format, and range. In context, a numeric quantity field rejects SQL syntax.

2
New cards

What is output encoding, and what context example demonstrates its use?

Output encoding is representing untrusted data safely for its output context. In context, comment text is encoded so the browser does not execute it as script.

3
New cards

What is a parameterized query, and what context example is given for it?

A parameterized query separates SQL instructions from user-supplied values. In context, the database treats a username as data rather than query logic.

4
New cards

What is cross-site scripting (XSS), and what context example is provided?

XSS injects content that executes in another user's browser. In context, a stored comment runs JavaScript for every viewer.

5
New cards

What is cross-site request forgery (CSRF), and what context example demonstrates it?

CSRF makes a logged-in browser send an unwanted request. In context, a hidden form triggers a bank transfer using the victim's session.

6
New cards

What is server-side request forgery (SSRF), and what context example is provided?

SSRF makes the server request an attacker-chosen resource. In context, a URL-fetch feature reaches an internal metadata endpoint.

7
New cards

What is SQL injection, and what context example demonstrates its behavior?

SQL injection occurs when untrusted input alters database query logic. In context, ' OR 1=1 changes the intended condition.

8
New cards

How is LDAP injection defined and demonstrated in context?

LDAP injection occurs when input alters an LDAP query or filter. In context, a crafted login value bypasses directory checks.

9
New cards

How is XML injection defined and demonstrated in context?

XML injection occurs when input changes XML structure or parser behavior. In context, a crafted element alters an application's interpretation.

10
New cards

What is directory traversal, and what context example is given?

Directory traversal occurs when path input escapes the intended directory. In context, ../../etc/passwd attempts to reach a system file.

11
New cards

What is session hijacking, and what context example is provided?

Session hijacking is taking control of an authenticated session. In context, a stolen session cookie grants access without the password.

12
New cards

How is clickjacking defined and illustrated in context?

Clickjacking is a deceptive interface that tricks users into clicking hidden or disguised controls. In context, a transparent frame places an approval button under a fake game button.

13
New cards

What is DNS cache poisoning, and what context example is given?

DNS cache poisoning is corrupting cached name-resolution data. In context, users requesting a bank domain receive an attacker's IP.

14
New cards

What is typosquatting, and what context example is provided?

Typosquatting is registering look-alike or mistyped domains. In context, gooogle.com imitates google.com.

15
New cards

What is domain hijacking, and what context example illustrates it?

Domain hijacking is the unauthorized takeover of domain registration or DNS control. In context, a stolen registrar account changes nameservers.

16
New cards

What is LLMNR hijacking, and what context example illustrates it?

LLMNR hijacking is abusing local name-resolution fallback to capture or relay authentication. In context, an attacker answers a mistyped local hostname request.

17
New cards

What is Mobile Device Management (MDM), and what context example is given?

MDM is central administration of device configuration, security, and response. In context, IT enforces encryption and can remove work data.

18
New cards

How is rooting or jailbreaking defined, and what is its security impact?

It is removing vendor restrictions and weakening the standard security model. In context, a rooted phone allows deeper system modification but expands the attack surface.

19
New cards

What are app permissions, and what context example illustrates least privilege?

App permissions are authorized access an application receives to device resources or data. In context, a camera app may need camera access but not contacts.

20
New cards

What is a remote wipe, and what context example is given?

A remote wipe is a command that removes device or managed data after loss or compromise. In context, IT erases company data from a lost phone.

21
New cards

Where does untrusted input gain power in XSS, SQL injection, LDAP injection, traversal, and SSRF?

XSS gains power in the browser, SQL injection in a database query, LDAP injection in a directory query, traversal in file paths, and SSRF through the server's network position.

22
New cards

What specific trust relationship is abused by XSS, CSRF, and SSRF respectively?

XSS abuses the browser's trust in page content; CSRF abuses a site's trust in the user's authenticated browser; SSRF abuses internal systems' trust in requests made by the server.

23
New cards

What are the recommended primary mitigations for XSS, CSRF, SSRF, SQL injection, and path traversal?

Contextual output encoding for XSS; anti-CSRF tokens and same-site controls for CSRF; outbound restrictions and URL validation for SSRF; parameterized queries for SQL injection; and normalized allowlisted paths or server-owned file IDs for traversal.

24
New cards

What is the fast distinction among XSS, CSRF, and SSRF according to the Confusion Pairs table?

Browser script vs. victim session request vs. server-made request.

25
New cards

What is the fast distinction between SQL injection and XSS?

Database query logic vs. browser execution.

26
New cards

What is the fast distinction between typosquatting and domain hijacking?

Look-alike registration vs. takeover of real domain.

27
New cards

What is the fast distinction between a screen lock and encryption?

Gate device use vs. protect stored bytes.

28
New cards
<p>What specific fast distinctions are outlined in this course Confusion Pairs table?</p>

What specific fast distinctions are outlined in this course Confusion Pairs table?

The table distinguishes four pairs: (1) XSS vs. CSRF vs. SSRF: Browser script vs. victim session request vs. server-made request; (2) SQL injection vs. XSS: Database query logic vs. browser execution; (3) Typosquatting vs. domain hijacking: Look-alike registration vs. takeover of real domain; and (4) Screen lock vs. encryption: Gate device use vs. protect stored bytes.

29
New cards

Why is input validation alone insufficient to protect a trust boundary where data will be used?

Input validation checks that incoming data has the expected shape and range, but it cannot replace a defense for the place the data will be used (such as parameterized queries for SQL instructions, parser controls for LDAP/XML, or contextual output encoding for browsers).

30
New cards

What role does a Content Security Policy (CSP) play relative to contextual output encoding for XSS?

A content security policy can add a layer of defense, but it is not the primary replacement for encoding.

31
New cards

Why do SameSite cookies usually support rather than replace server-validated anti-CSRF tokens?

SameSite cookies reduce some cross-site cookie sending but have exceptions and should usually support, not replace, a token.

32
New cards

What mobile controls should be applied before the loss of a device, and what controls should be executed after loss?

Before loss: minimize local data, patch, strong lock, encryption, backups, and MDM enrollment. After loss: report it, revoke sessions/tokens, remote lock/wipe managed data, review logs, and reset credentials if exposure is plausible.

33
New cards

Why does full-device encryption remain important even if a remote wipe capability is configured?

A remote wipe may fail if the device never reconnects to a network; encryption ensures stored bytes remain protected while the device is locked or powered off.

34
New cards

Scenario Check 1: A product review executes JavaScript for every visitor. How is this classified and mitigated?

Classification: Stored XSS. Mitigation: Encode untrusted output for the HTML context and apply a suitable content security policy as an added layer.

35
New cards

Scenario Check 2: A logged-in user visits a malicious page and unknowingly changes their bank email. How is this classified?

CSRF (Cross-site request forgery).

36
New cards

Scenario Check 3: A PDF converter fetches http://169.254.169.254 and exposes cloud credentials. How is this classified and why?

SSRF (Server-side request forgery), because the attacker makes the server request an internal resource.

37
New cards

Scenario Check 5: Why should a flashlight app not have contacts permission?

The permission does not support its function, violates least privilege/data minimization, and increases exposure if the app is malicious or compromised.

38
New cards

What are the four questions in the Professor's Explainability Drill?

  1. What did you choose? (Name the exact concept or control.) 2. Why does it fit this asset, threat, weakness, or business requirement? 3. What does it improve, prevent, detect, or recover? (Tie it to CIA or operations.) 4. What reasonable alternative did you reject, and when would that alternative be better?
39
New cards

What is the course-material boundary and reference rule regarding mobile security for Unit 11?

Mobile security is the largest source gap, so Fitzgerald's slides and Activity 12 are the grading authority. Fitzgerald's current HuskyCT instructions, slides, and in-class corrections control if they differ from the guide.