OVER $60 MILLION WORTH OF BITCOINS HACKED FROM NICEHASH EXCHANGE

sexta-feira, 26 de maio de 2023

Over $60 Million Worth of Bitcoins Hacked from NiceHash Exchange. Bitcoin mining platform and exchange NiceHash has been hacked, leaving investors short of close to $68 million in BTC.
As the price of Bitcoin continues to rocket, surging past the $14,500 mark at the time of writing, cyberattackers have once again begun hunting for a fresh target to cash in on in this lucrative industry.
Banks and financial institutions have long cautioned that the volatility of Bitcoin and other cryptocurrency makes it a risky investment, but for successful attackers, the industry potentially provides a quick method to get rich — much to the frustration of investors.
Unfortunately, it seems that one such criminal has gone down this path, compromising NiceHash servers and clearing the company out.
In a press release posted on Reddit, on Wednesday, NiceHash said that all operations will stop for the next 24 hours after their "payment system was compromised and the contents of the NiceHash Bitcoin wallet have been stolen."
NiceHash said it was working to "verify" the precise amount of BTC stolen, but according to a wallet which allegedly belongs to the attacker — traceable through the blockchain — 4,736.42 BTC was stolen, which at current pricing equates to $67,867,781.
"Clearly, this is a matter of deep concern and we are working hard to rectify the matter in the coming days," NiceHash says. "In addition to undertaking our own investigation, the incident has been reported to the relevant authorities and law enforcement and we are co-operating with them as a matter of urgency."
"We are fully committed to restoring the NiceHash service with the highest security measures at the earliest opportunity," the trading platform added.
The company has also asked users to change their online passwords as a precaution. NiceHash says the "full scope" of the incident is unknown.
"We are truly sorry for any inconvenience that this may have caused and are committing every resource towards solving this issue as soon as possible," the company added.
Inconvenience is an understatement — especially as so much was left in a single wallet — but the moment those coins shift, we may know more about the fate of the stolen investor funds.
Continue reading

C++ Std::String Buffer Overflow And Integer Overflow

Interators are usually implemented using signed integers like the typical "for (int i=0; ..." and in fact is the type used indexing "cstr[i]", most of methods use the signed int, int by default is signed.
Nevertheless, the "std::string::operator[]" index is size_t which is unsigned, and so does size(), and same happens with vectors.
Besides the operator[] lack of negative index control, I will explain this later.

Do the compilers doesn't warn about this?


If his code got a large input it would index a negative numer, let see g++ and clang++ warnings:



No warnings so many bugs out there...

In order to reproduce the crash we can load a big string or vector from file, for example:


I've implemented a loading function, getting the file size with tellg() and malloc to allocate the buffer, then in this case used as a string.
Let see how the compiler write asm code based on this c++ code.



So the string constructor, getting size and adding -2 is clear. Then come the operator<< to concat the strings.
Then we see the operator[] when it will crash with the negative index.
In assembly is more clear, it will call operator[] to get the value, and there will hapen the magic dereference happens. The operator[] will end up returning an invalid address that will crash at [RAX]



In gdb the operator[] is a  allq  0x555555555180 <_znst7__cxx1112basic_stringicst11char_traitsicesaiceeixem plt="">

(gdb) i r rsi
rsi            0xfffffffffffefffe  -65538


The implmementation of operator ins in those functions below:

(gdb) bt
#0  0x00007ffff7feebf3 in strcmp () from /lib64/ld-linux-x86-64.so.2
#1  0x00007ffff7fdc9a5 in check_match () from /lib64/ld-linux-x86-64.so.2
#2  0x00007ffff7fdce7b in do_lookup_x () from /lib64/ld-linux-x86-64.so.2
#3  0x00007ffff7fdd739 in _dl_lookup_symbol_x () from /lib64/ld-linux-x86-64.so.2
#4  0x00007ffff7fe1eb7 in _dl_fixup () from /lib64/ld-linux-x86-64.so.2
#5  0x00007ffff7fe88ee in _dl_runtime_resolve_xsavec () from /lib64/ld-linux-x86-64.so.2
#6  0x00005555555554b3 in main (argc=2, argv=0x7fffffffe118) at main.cpp:29

Then crashes on the MOVZX EAX, byte ptr [RAX]

Program received signal SIGSEGV, Segmentation fault.
0x00005555555554b3 in main (argc=2, argv=0x7fffffffe118) at main.cpp:29
29     cout << "penultimate byte is " << hex << s[i] << endl;
(gdb)


What about negative indexing in std::string::operator[] ?
It's exploitable!

In a C char array is known that having control of the index, we can address memory.
Let's see what happens with C++ strings:






The operator[] function call returns the address of string plus 10, and yes, we can do abitrary writes.



Note that gdb displays by default with at&t asm format wich the operands are in oposite order:


And having a string that is in the stack, controlling the index we can perform a write on the stack.



To make sure we are writing outside the string, I'm gonna do 3 writes:


 See below the command "i r rax" to view the address where the write will be performed.


The beginning of the std::string object is 0x7fffffffde50.
Write -10 writes before the string 0x7fffffffde46.
And write -100 segfaults because is writting in non paged address.



So, C++ std::string probably is not vulnerable to buffer overflow based in concatenation, but the std::string::operator[] lack of negative indexing control and this could create vulnerable and exploitable situations, some times caused by a signed used of the unsigned std::string.size()










More info


Linux Command Line Hackery Series - Part 6

quinta-feira, 25 de maio de 2023


Welcome back to Linux Command Line Hackery series, I hope you've enjoyed this series so far and would have learned something (at least a bit). Today we're going to get into user management, that is we are going to learn commands that will help us add and remove users and groups. So bring it on...

Before we get into adding new users to our system lets first talk about a command that will be useful if you are a non-root user.

Command: sudo
Syntax: sudo [options] command
Description: sudo allows a permitted user to execute a command as a superuser or another user.

Since the commands to follow need root privileges, if you are not root then don't forget to prefix these commands with sudo command. And yes you'll need to enter the root password in order to execute any command with sudo as root.

Command: useradd
Syntax: useradd [options] username
Description: this command is used for creating new user but is kinda old school.
Lets try to add a new user to our box.
[Note: I'm performing these commands as root user, you'll need root privileges to add a new user to your box. If you aren't root then you can try these commands by prefixing the sudo command at the very beginning of these command like this sudo useradd joe. You'll be prompted for your root password, enter it and you're good to go]

useradd joe

To verify that this command has really added a user to our box we can look at three files that store a users data on a Linux box, which are:

/etc/passwd -> this file stores information about a user separated by colons in this manner, first is login name, then in past there used to be an encrypted password hash at the second place however since the password hashes were moved to shadow file now it has a cross (x) there, then there is user id, after it is the user's group id, following it is a comment field, then the next field contains users home directory, and at last is the login shell of the user.

/etc/group  -> this file stores information about groups, that is id of the group and to which group an user belongs.

/etc/shadow -> this file stores the encrypted password of users.

Using our command line techniques we learned so far lets check out these files and verify if our user has been created:

cat /etc/passwd /etc/group /etc/shadow | grep joe



In the above screenshot you can notice an ! in the /etc/shadow, this means the password of this user has not been set yet. That means we have to set the password of user joe manually, lets do just that.

Command: passwd
Syntax: passwd [options] [username]
Description: this command is used to change the password of user accounts.
Note that this command needs root privileges. So if you are not root then prefix this command with sudo.

passwd joe



After typing this command, you'll be prompted password and then for verifying your password. The password won't show up on the terminal.
Now joe's account is up and running with a password.

The useradd command is a old school command, lets create a new user with a different command which is kinda interactive.

Command: adduser
Syntax: adduser [options] user
Description: adduser command adds a user to the system. It is more friendly front-end to the useradd command.

So lets create a new user with adduser.

adduser jane



as seen in the image it prompts for password, full name and many other things and thus is easy to use.

OK now we know how to create a user its time to create a group which is very easy.

Command: addgroup
Syntax: addgroup [options] groupname
Description: This command is used to create a new group or add an existing user to an existing group.

We create a new group like this

addgroup grownups



So now we have a group called grownups, you can verify it by looking at /etc/group file.
Since joe is not a grownup user yet but jane is we'll add jane to grownups group like this:

addgroup jane grownups



Now jane is the member of grownups.

Its time to learn how to remove a user from our system and how to remove a group from the system, lets get straight to that.

Command: deluser
Syntax: deluser [options] username
Description: remove a user from system.

Lets remove joe from our system

deluser joe

Yes its as easy as that. But remember by default deluser will remove the user without removing the home directory or any other files owned by the user. Removing the home directory can be achieved by using the --remove-home option.

deluser jane --remove-home

Also the --remove-all-files option removes all the files from the system owned by the user (better watch-out). And to create a backup of all the files before deleting use the --backup option.

We don't need grownups group so lets remove it.

Command: delgroup
Syntax: delgroup [options] groupname
Description: remove a group from the system.

To remove grownups group just type:

delgroup grownups



That's it for today hope you got something in your head.

Related articles


  1. Physical Pentest Tools
  2. Pentest Tools Linux
  3. How To Make Hacking Tools
  4. Black Hat Hacker Tools
  5. Pentest Tools Kali Linux
  6. Hacking Tools Github
  7. Blackhat Hacker Tools
  8. Hacker Tools Apk Download
  9. Hacker Tools Apk
  10. Termux Hacking Tools 2019
  11. Hack Tool Apk No Root
  12. Pentest Tools Free
  13. Hacking Tools For Kali Linux
  14. Hacker Tools 2020
  15. Best Hacking Tools 2020
  16. Tools Used For Hacking
  17. Hacker Tools
  18. Tools 4 Hack
  19. Pentest Tools Linux
  20. Hacker Search Tools
  21. New Hack Tools
  22. Free Pentest Tools For Windows
  23. Hacker Tools Free
  24. Tools 4 Hack
  25. Nsa Hack Tools
  26. Hacker Tool Kit
  27. Hack App
  28. Pentest Tools Subdomain
  29. Hacker
  30. Hack Tools For Windows
  31. Hackers Toolbox
  32. Hacking Tools 2019
  33. Hacking Tools 2020
  34. Hack Tools For Windows
  35. Hacking Apps
  36. Hack Tool Apk No Root
  37. Pentest Tools Open Source
  38. Hack Tools Online
  39. Hack Tools Online
  40. New Hack Tools
  41. Hack Tool Apk No Root
  42. Pentest Tools For Android
  43. Pentest Tools Kali Linux
  44. Hacker Tools 2019
  45. Hacker Techniques Tools And Incident Handling
  46. Best Hacking Tools 2020
  47. Hacking App
  48. Black Hat Hacker Tools
  49. Hack Tools Download
  50. Wifi Hacker Tools For Windows
  51. Pentest Tools Subdomain
  52. Hacking Tools Usb
  53. Pentest Tools For Android
  54. Pentest Tools Bluekeep
  55. Hacking Tools For Windows Free Download
  56. Hack Tools For Windows
  57. Pentest Tools Windows
  58. Pentest Tools Apk
  59. Pentest Tools List
  60. Hacker Tools Software
  61. Hacker Tools Online
  62. Hackers Toolbox
  63. Hacking Tools Download
  64. Hack Tools For Windows
  65. Hacking Tools Kit
  66. Pentest Tools Tcp Port Scanner
  67. How To Hack
  68. Hacker Tools Apk Download
  69. Hacking Tools Online
  70. Pentest Tools Find Subdomains
  71. Hacker Tool Kit
  72. Hacker Tools List
  73. Hack Tools
  74. Black Hat Hacker Tools
  75. Hacker Tools For Windows
  76. How To Make Hacking Tools
  77. Pentest Tools Find Subdomains
  78. Best Hacking Tools 2020
  79. Install Pentest Tools Ubuntu
  80. Ethical Hacker Tools
  81. Pentest Tools Free
  82. Hacking Tools For Pc
  83. Hacking Tools Online
  84. Hacker Hardware Tools
  85. Hacking Tools For Games
  86. Pentest Tools Windows
  87. Pentest Tools For Mac
  88. Hacker
  89. Pentest Tools Online
  90. Wifi Hacker Tools For Windows
  91. New Hack Tools
  92. Hacker Security Tools
  93. Best Pentesting Tools 2018
  94. Pentest Tools Kali Linux
  95. Pentest Tools Free
  96. Hack Tools
  97. Kik Hack Tools
  98. Pentest Automation Tools
  99. Hacker Tools Linux
  100. Hack Tools 2019
  101. Hacker Search Tools
  102. Hacker Tools Linux

Global Game Jam 2022

Thanks to everyone who came out to or participated in the Global Game Jam with us!


Game jams are meant to be places for creativity and collaboration, so no prizes or competition was held this year. However, we did allow participants to select their top 3 favorite games from among their peers, based on the trailers each team made. The winners of the popular vote were:

  1. Chess but better

  2. Tread Lightly

  3. Monster Grabber


Here is the link to the trailers made by teams from Kennesaw State University:

https://www.youtube.com/playlist?list=PL5Z1jmCpVW-0CCVotovWTlqBLDHpGJ0Z7

<> Semrush Links <>

domingo, 2 de abril de 2023

Hello

Having links from dead domains towards your website, is of no use. NONE !

Here you will get backlinks from established domains, which have tons of
ranking keywords

check out more details:
https://www.creative-digital.co/product/semrush-backlinks/




thanks and regards
Creative Digital







Unsubscribe:
https://mgdots.co/unsubscribe/

<> Negative SEO Services <>

sexta-feira, 10 de fevereiro de 2023

Hi!

If you ever need Negative SEO Serrvices, we offer it here
https://blackhatsem.co











Unsubscribe:
https://mgdots.co/unsubscribe/

50% discount for life for any SEO service

quinta-feira, 5 de janeiro de 2023

Hi!

Rate us 5 stars and get a 50% discount to any of our services
https://www.trustpilot.com/evaluate/seo-treff.de

Once review is live, we`ll grant you access to the big fat discount






Regards
Mike

<> unique domains links <>

terça-feira, 27 de setembro de 2022

Hello

When you get 1000 unique domains you get links from only unique domains
with unique ips
https://www.creative-digital.co/product/unique-domains-links/







Unsubscribe:
https://mgdots.co/unsubscribe/

<> Do you want a one time SEO boost for your website? <>

quinta-feira, 25 de agosto de 2022

30 days results oriented SEO plans
https://liftmyrank.co/affordable-seo-services-small-businesses/




Unsubscribe:
https://mgdots.co/unsubscribe/

<> NEW: Moz DA 40 to 50 for your website <>

terça-feira, 19 de julho de 2022

Hi,

Get to have an amazing DA between 40 to 50 for your website and increase
sales and trust in your website

We`ll make your website DA between 40 to 50 in maximum 60 days or your
money back
https://www.creative-digital.co/product/moz-da-seo-plan/









Unsubscribe:
https://mgdots.co/unsubscribe/

<> edu blog links for more SEO power <>

quarta-feira, 8 de junho de 2022

Hello

Cheap 1000 edu blogs links to increase authority and ranks
https://www.creative-digital.co/product/edu-backlinks/








Unsubscribe:
https://mgdots.co/unsubscribe/

<> Semrush Links <>

sexta-feira, 18 de março de 2022

Hi,

Get top Ranks with this never seen before SEO plan:
https://www.creative-digital.co/product/semrush-backlinks/



Regards
Creative Digital Team







Unsubscribe:
https://mgdots.co/unsubscribe/

UK SEO

segunda-feira, 27 de dezembro de 2021

Just checked blogger.com for its ranks and it could really use a boost

If you ever need Google updates free whitehat SEO plans, we are the right
team for you

Results oriented monthly plans to make your SEO trend climb like never
before


https://www.digitalsy.org.uk/seo-pricing/









Unsubscribe:
https://mgdots.co/unsubscribe/

Rank pharma or adult sites with blackhat SEO

terça-feira, 12 de outubro de 2021

Special Blackhat plans for special website needs
https://blackhatseoservices.tk/










Unsubscribe:
please send a blank email to RonaldLilly7162@gmail.com
you will be automatically unsubscribed

Advanced SEO plans

terça-feira, 21 de setembro de 2021

Off the shell SEO plans to increase your website`s SEO Metrics and Ranks
within just 1 month

See more details here
https://liftmyrank.co/affordable-seo-services-small-businesses/





Unsubscribe:
please send a blank email to RonaldLilly7162@gmail.com
you will be automatically unsubscribed

edu blog links for more SEO power

sábado, 21 de agosto de 2021

Hello

Cheap 1000 edu blogs links to increase authority and ranks
https://www.creative-digital.co/product/edu-backlinks/








Unsubscribe:
please send a blank email to RonaldLilly7162@gmail.com
you will be automatically unsubscribed

Whitehat Monthly SEO plans for your business

terça-feira, 10 de agosto de 2021

Hi there
I have just checked your site for the ranking keywords and found that you
could use a nice boost in the SEO trend and the organic visibility

If interested in getting more out of your online business, kindly hit reply

thanks and regards
Mike