Skip to main content

SQ18114

Detected Linux executable files that may be susceptible to binary planting.

priorityCI/CD statusseverityeffortSAFE levelSAFE assessment
passlowmediumNoneNone

About the issueโ€‹

On Linux, the user may override the normal library search path by specifying RPATH or RUNPATH. This will force the dynamic linker to prioritize user-specified directories when searching for shared libraries. Binary planting is a technique that allows the attacker to execute malicious code by placing it into one of the executable's library search directories.

How to resolve the issueโ€‹

  • Avoid manually specifying the library search path.
  • If that is not possible, ensure that the directories in customized library search path(s) are not user-writable.

Incidence statisticsโ€‹

ReversingLabs periodically collects and analyzes the contents of popular software package repositories for threat research purposes. Analysis results are used to calculate incidence statistics for issues (policy violations) that Spectra Assure can detect in software packages.

This section is updated when new data becomes available.

Total amount of packages analyzed

  • Linux: 562K
  • NPM: 5.12M
  • Nuget: 735K
  • PS Gallery: 17K
  • PyPi: 838K
  • RubyGems: 203K
  • VS Code: 113K
  • Windows: 3.7K
Statistics are not collected for the SQ18114 policy at this time, or not applicable to this type of issue.