Task Scheduling — Linux Fundamentals Module — HTB Walkthrough

The Malware Mender
1 min readJul 30, 2024

--

TIER 0 MODULE: LINUX FUNDAMENTALS

SECTION: Task Scheduling

For this section, you necessarily do not need to connect to the pwnbox.

If you are not registered in HTB Academy, then use this link to register now: https://referral.hackthebox.com/mzxKOJt

1. What is the Type of the service of the “dconf.service”?

First of all, let’s find this service.

💡 Everything in Linux is a file.

We use the find command,

find / -name dconf.service -type f 2>/dev/null
  • find / ➡ Find in root directory.
  • -name dconf.service ➡ Name should be ‘dconf.service’.
  • -type f ➡ Type should be file.
  • 2>/dev/null ➡ All errors should be ignored.

It returned us “/usr/lib/systemd/user/dconf.service”.

Now, let’s see the contents of this file, and filter out the type from this file.

cat /usr/lib/systemd/user/dconf.service | grep -i type

And we got the answer.

  • -i ➡ This -i flag means, search for results no matter upper or lower case.

Answer: dbus

Still stuck? Watch Video!

☣️ HAPPY ETHICAL HACKING ☣️

DISCLAIMER: THIS CONTENT DOES NOT BELONG TO ME, I AM JUST WRITING A WALK-THROUGH OF A FREE MODULE OF HACK THE BOX ACADEMY. (WRITING WALKTHROUGHS OF FREE MODULES IS PERMITTED BY HTB ACADEMY)

The Malware Mender Walkthroughs

--

--

The Malware Mender
The Malware Mender

No responses yet