exam questions

Exam SY0-501 All Questions

View all questions & answers for the SY0-501 exam

Exam SY0-501 topic 1 question 480 discussion

Actual exam question from CompTIA's SY0-501
Question #: 480
Topic #: 1
[All SY0-501 Questions]

A software developer is concerned about DLL hijacking in an application being written. Which of the following is the MOST viable mitigation measure of this type of attack?

  • A. The DLL of each application should be set individually
  • B. All calls to different DLLs should be hard-coded in the application
  • C. Access to DLLs from the Windows registry should be disabled
  • D. The affected DLLs should be renamed to avoid future hijacking
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Elb
Highly Voted 5 years, 5 months ago
B. DLL Search Order Hijacking Unless the path to the DLLs required by a specific application are hard-coded into the software, Windows searches for them in a particular order.
upvoted 12 times
...
Trick_Albright
Most Recent 4 years, 2 months ago
Hardcoding is almost never acceptable in the real world.
upvoted 2 times
...
thegreatnivram
4 years, 4 months ago
This article explains in detail why B is the right answer https://blog.finjan.com/best-practices-to-prevent-dll-hijacking/
upvoted 3 times
...
Jenkins3mol
5 years, 9 months ago
Ok, compared with other options...I agreed with the answer...basically what technical best practices suggested are some configuration/anti-virus guidelines...
upvoted 2 times
...
Jenkins3mol
5 years, 9 months ago
Basically, according to the article https://www.mostlyblogging.com/dll-hijacking/ This won't help....
upvoted 1 times
Jenkins3mol
5 years, 9 months ago
And if this is so viable, DLL injection couldn't be such a headache.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...