Application and Network Security Fundamentals
Covers web security, cryptography, malware analysis, and application security principles including attack prevention and secure coding practices.
Questions
Steganography is a technique used for
- copying files anonymously
- attacking a website
- analyzing the website traffic
- hiding data files or messages within other harmless files
Keyloggers are tools used to
- make impressions for creation of duplicate keys
- log and record keystrokes to steal data
- guess passwords
- All of the options
A cookie is a way to
- Track a user's e-mail
- Add statefulness to the originally stateless HTTP
- Disclose a user's identity
- Add history information to the originally stateless HTTP
If a database is protected from modification using only symmetric encryption, someone may still be able to mount an attack by:
- Moving blocks of data such that a field belonging to one person is assigned to another
- Changing the encryption key so that a collision occurs
- Using the public key instead of the private key
- Arranging to intercept the public key in transit and replae it with his own
Format string vulnerabilities in programs can be found by
- Forcing buffer overflows
- Submitting random long strings to the application
- Causing underflow problems
- Including string specifiers in input data
Files temporarily created by applications can expose confidential data if
- Special characters are not used in the filename to keep the file hidden
- The existence of the file exceeds 3 seconds
- File permissions are not set appropriately
- Special characters indicating this is a system file are not used in the filename
The three structural parts of a virus are:
- Malicious payload, message payload, and benign payload
- Infection, payload and trigger
- Self replication, file attachment, and payload
- Replication, destructive payload, and triggering condition
An application that uses dynamic link libraries can be forced to execute malicious code, even without replacing the target .dll file by exploiting:
- Registry settings
- The library search order
- Buffer overflows
- Library input validation flaws
When valuable information needs to be transmitted as part of the client request
- Get method should be used with a suitable encryption mechanism
- Submit method should be used with state of the art encryption algorithm
- POST method should be used with a suitable encryption mechanism
- Stored procedure to be used
In terms of databases, cryptography can:
- Only restrict and reduce availability
- Improve availability by allowing data to be easily placed where authorized users can access it
- Improve availability by increasing granularity of access controls
- Neither reduce nor improve availability
Proprietary protocols and data formats:
- Are unsafe because they typically rely on security by obscurity
- Are unsafe because buffer overflows cannot be effectively determined by random submission of data
- Are insecure because vendors do not test them
- Are secure because of encryption
Integrating cryptography into applications may lead to:
- Increased stability as the programs are protected against viral attack
- Enhanced reliability as users can no longer modify source code
- Reduced breaches of policy due to disclosure of information
- Possible denial of service if the keys are corrupted
It is a good programming practice to set the cookie flag to:
- Safe
- Protected
- Locked
- Secure
If you are using TLS encryption, sensitive data can be transmitted via
- URL arguments
- hidden variables
- server side repository
- Cookie
Stored procedure if used for authentication helps against which attack?
- Session Hijacking
- Session Fixation
- Cross Site Scripting
- SQL injection
Select a tool that is used for Web services enumeration, scanning and fuzzing
- The Scrutinizer
- Wschess from Netsquare
- SWAAT
- Peach Fuzzer
Select a tool that is used for SQL injection scanning
- SQLiX
- WebScarab
- ParosProxy
- NMAP
Which one is a Software Security Requirement gathering tool
- Assent
- Consult
- Masketeer
- SQUARE
Implementing a CAPTCHA can protect you against what types of attacks ?
- SQL Injection
- Bufer Overflow
- Brute Force Attacks
- None of the above
What would you use LOIC (Low Orbit Intensity Cannon) for?
- SQL Injection
- CSRF
- Path Manipulation
- Denial of Service