diff --git a/atomics/Indexes/index.yaml b/atomics/Indexes/index.yaml index 1eff25a1..a29bf92f 100644 --- a/atomics/Indexes/index.yaml +++ b/atomics/Indexes/index.yaml @@ -14569,7 +14569,7 @@ privilege-escalation: (#{path_to_shared_library}) ' - prereq_command: 'if [ -f #{path_to_shared_library ]; then exit 0; else exit + prereq_command: 'if [ -f #{path_to_shared_library} ]; then exit 0; else exit 1; fi; ' @@ -28094,7 +28094,7 @@ defense-evasion: (#{path_to_shared_library}) ' - prereq_command: 'if [ -f #{path_to_shared_library ]; then exit 0; else exit + prereq_command: 'if [ -f #{path_to_shared_library} ]; then exit 0; else exit 1; fi; ' @@ -47566,7 +47566,7 @@ persistence: (#{path_to_shared_library}) ' - prereq_command: 'if [ -f #{path_to_shared_library ]; then exit 0; else exit + prereq_command: 'if [ -f #{path_to_shared_library} ]; then exit 0; else exit 1; fi; ' diff --git a/atomics/T1574.006/T1574.006.md b/atomics/T1574.006/T1574.006.md index 45fef5aa..22bdbf74 100644 --- a/atomics/T1574.006/T1574.006.md +++ b/atomics/T1574.006/T1574.006.md @@ -56,7 +56,7 @@ sudo sed -i '\~#{path_to_shared_library}~d' /etc/ld.so.preload ##### Description: The shared library must exist on disk at specified location (#{path_to_shared_library}) ##### Check Prereq Commands: ```bash -if [ -f #{path_to_shared_library ]; then exit 0; else exit 1; fi; +if [ -f #{path_to_shared_library} ]; then exit 0; else exit 1; fi; ``` ##### Get Prereq Commands: ```bash