Spectra Assure
Community
Docs
warningRisk: Hardening
Scanned: 28 days ago

MountGitlab

latest
Top 10k
An experimental powershell provider that allows you to explore gitlab as a filesystem.
License: unknown
Published: almost 3 years ago




SAFE Assessment

Compliance

Licenses
No license compliance issues
Secrets
9 debugging symbols found

Security

Vulnerabilities
No known vulnerabilities detected
Hardening
5 ineffective mitigations detected

Threats

Tampering
No evidence of software tampering
Malware
No evidence of malware inclusion

Popularity

460
Total Downloads
Contributors
Declared Dependencies
0
Dependents

Top issues

Problem

Address Space Layout Randomization (ASLR) is a vulnerability mitigation option that forces software components to load on a different memory base address each time they are used. This mitigation is detected as enabled, but rendered ineffective due to the lack of code relocations necessary for layout randomization. This issue is reported for native 32-bit applications that contain code and opt in to use ASLR. Reasons for relocation absence include forcing software component load on a fixed address, removing relocations post-build, and using non-ASLR-compliant executable packing solutions.

Prevalence in PowerShell Gallery community

1 packages
found in
Top 100
13 packages
found in
Top 1k
41 packages
found in
Top 10k
89 packages
in community

Next steps

Review the programming language linker documentation.
In Microsoft VisualStudio, make sure the linker option /FIXED is disabled (set to OFF).

Problem

Security Development Lifecycle (SDL) is a group of enhanced compile-time checks that report common coding mistakes as errors. These checks prevent the use of hard-to-secure string manipulation functions. They enforce static memory access checks, and allow only the use of range-verified string parsing functions. While these checks do not prevent every memory corruption issue by themselves, they do help reduce the likelihood.

Prevalence in PowerShell Gallery community

1 packages
found in
Top 100
22 packages
found in
Top 1k
87 packages
found in
Top 10k
171 packages
in community

Next steps

It's highly recommended to enable these checks for all software components used at security boundaries, or those that process user controlled inputs.
To enable these checks, refer to your programming language toolchain documentation.
In Microsoft VisualStudio, you can enable this feature by setting the compiler option /SDL to ON.

Problem

Operating systems execute application code in multiple privilege access levels. Separation of privileges is designed to protect the stability and integrity of the operating system by shielding it from issues that the user run applications may cause. However, some users may need to interact with higher privilege parts of the operating system to accomplish specific tasks. For this purpose, operating systems provide facilities that users may leverage to temporarily elevate their running privileges. Users with higher privileges can run any application with the same privilege level as their own. Attackers often try to trick privileged users into running malicious code, enabling them to infect the operating system. While the presence of code that elevates user privileges does not necessarily imply malicious intent, all of its uses in a software package should be documented and approved. Only select applications should consider using functions that can elevate user privileges. One example of acceptable use for such functions is allowing the users to install software packages and updates.

Prevalence in PowerShell Gallery community

0 packages
found in
Top 100
14 packages
found in
Top 1k
56 packages
found in
Top 10k
102 packages
in community

Next steps

Investigate reported detections as indicators of software tampering.
Consult Mitre ATT&CK documentation: T1548 - Abuse Elevation Control Mechanism.
Consider rewriting the flagged code without using the marked behaviors.

Problem

Security Development Lifecycle (SDL) is a group of enhanced compile-time checks that report common coding mistakes as errors, preventing them from reaching production. These checks minimize the number of security issues by enforcing strict memory access checks. They also prevent the use of hard-to-secure string and memory manipulation functions. To prove the binary has been compiled with these checks enabled, the compiler emits a special debug object. Removing the debug table eliminates this proof. Therefore, this check only applies to binaries that still have their debug tables.

Prevalence in PowerShell Gallery community

3 packages
found in
Top 100
39 packages
found in
Top 1k
188 packages
found in
Top 10k
322 packages
in community

Next steps

You should keep the debug table to prove that the SDL process has been followed.
To enable these checks, refer to your programming language toolchain documentation.
In Microsoft VisualStudio, you can enable this feature by setting the compiler option /SDL to ON.

Problem

On Linux, external symbols are resolved via the procedure linkage table (PLT) and the global offset table (GOT). The global offset table is split into two tables - one for external data, and one for external functions. Without any protection, both are writable at runtime and thus leave the executable vulnerable to data overwrite attacks and pointer hijacking. Data overwrite attacks can be mitigated by using partial read-only relocations, while pointer hijacking can be mitigated with full read-only relocations. Both approaches have some drawbacks. Partial read-only relocations don't provide full protection, because the external function GOT remains writable. Full read-only relocations require that all external function symbols are resolved at load-time instead of during execution. This may increase loading time for large programs.

Prevalence in PowerShell Gallery community

0 packages
found in
Top 100
17 packages
found in
Top 1k
53 packages
found in
Top 10k
103 packages
in community

Next steps

In most cases, it's recommended to use full read-only relocations (in GCC: -Wl,-z,relro,-z,now).
If the executable load-time is an issue, you should use partial read-only relocations.

Top behaviors

Prevalence in PowerShell Gallery community

Behavior often found in this community (Common)
12 packages
found in
Top 100
172 packages
found in
Top 1k
803 packages
found in
Top 10k
1281 packages
in community

Prevalence in PowerShell Gallery community

Behavior often found in this community (Common)
3 packages
found in
Top 100
34 packages
found in
Top 1k
145 packages
found in
Top 10k
257 packages
in community

Prevalence in PowerShell Gallery community

Behavior uncommon for this community (Uncommon)
1 packages
found in
Top 100
23 packages
found in
Top 1k
109 packages
found in
Top 10k
197 packages
in community

Prevalence in PowerShell Gallery community

Behavior often found in this community (Common)
5 packages
found in
Top 100
50 packages
found in
Top 1k
480 packages
found in
Top 10k
686 packages
in community

Prevalence in PowerShell Gallery community

Behavior often found in this community (Common)
4 packages
found in
Top 100
46 packages
found in
Top 1k
401 packages
found in
Top 10k
576 packages
in community

Top vulnerabilities

No vulnerabilities found.