News for hackers. Stuff that matters.
Re:Delphi still exists and is actively developed by jollyllama on Thursday August 18, 2022 @08:50AM (#32508886)
I remember, as a kid, looking up examples of malware. Bots and trojans and such. Invariably, much of it was in Delphi. Why was this so?
Re:Delphi still exists and is actively developed by jamal-kumar on Thursday August 18, 2022 @10:36AM (#32510253)
Most Delphi examples I see these days are actually modern, recently written malware samples. It statically compiles into a tiny binary which has a weird ABI which flies under the radar of AV software looking for programs up to no good. What's not to love for this purpose if you are an adversarial actor?

The vega/buran strain of ransomware malware comes to mind as a well known example from the past few years [1]

[1] https://www.acronis.com/en-us/blog/posts/meet-buran-new-delp...

Re:Delphi still exists and is actively developed by CRConrad on Sunday August 21, 2022 @08:14AM (#32539392)
> Most Delphi examples I see these days are actually modern, recently written malware samples. It statically compiles into a tiny binary which has a weird ABI which flies under the radar of AV software looking for programs up to no good. What's not to love for this purpose if you are an adversarial actor?

And recently lots of malware detection has started looking for that "weird" ABI signature, so now everyone's anti-virus is throwing up alarms at perfectly legit age-old software just because it's built with Delphi.

Re:Delphi still exists and is actively developed by optymizer on Thursday August 18, 2022 @10:27AM (#32510123)
At least in the ex-soviet countries, a lot of the legally-questionable software we used to write was in Pascal because that's what we learnt in school. It was an easy transition to go to Delphi - nice RAD IDE for GUI RATs or keygens/cracks, familiar OO language.
Re:Delphi still exists and is actively developed by jhbadger on Thursday August 18, 2022 @11:22AM (#32510921)
Even in the West, Pascal was the standard teaching language even in the late 1980s -- my undergraduate classes and textbooks all used it.
Re:Delphi still exists and is actively developed by aidenn0 on Thursday August 18, 2022 @12:33PM (#32511831)
I took the AP CS test in 1996 and had to learn Pascal for it. They switched to a different language either in '97 or '98 though (C++ I think?).
Re:Delphi still exists and is actively developed by jollyllama on Thursday August 18, 2022 @12:49PM (#32512038)
I think so. By the late 2000's, it was Java.
Re:Delphi still exists and is actively developed by jollyllama on Thursday August 18, 2022 @10:34AM (#32510228)
Makes sense. Thanks.
Re:Delphi still exists and is actively developed by thijsvandien on Thursday August 18, 2022 @10:20AM (#32509987)
Mostly because it builds self-contained executables that are virtually guaranteed to work. Nowadays this is much less of a thing, but we are talking about the day and age of DLL Hell.
Re:Delphi still exists and is actively developed by vbezhenar on Thursday August 18, 2022 @09:48AM (#32509532)
Simple low-level language, high-quality IDE. Why not.
Re:Delphi still exists and is actively developed by jsmolka on Thursday August 18, 2022 @09:54AM (#32509624)
Calling RAD Studio a high-quality IDE seems like a stretch to me. I would choose VS Code or a JetBrains product any day of the week. Unfortunately you a kinda stuck with it when developing in Delphi.
Re:Delphi still exists and is actively developed by mhd on Thursday August 18, 2022 @10:01AM (#32509714)
I would assume that "as a kid", when malware was written in Delphi, those weren't really options.

(And VS of that era was rather meh...)

Re:Delphi still exists and is actively developed by jollyllama on Thursday August 18, 2022 @10:02AM (#32509726)
Yeah, I'm referring to the late XP / early Vista era.
Re:Delphi still exists and is actively developed by croes on Thursday August 18, 2022 @10:15AM (#32509916)
Maybe RAD Studio isn't a high quality IDE but at least it is an IDE.

VS Code isn't.

Re:Delphi still exists and is actively developed by badsectoracula on Thursday August 18, 2022 @10:43AM (#32510375)
I remember being a little impressed when in some version of C++ Builder i used a symbol from another source file and when i pressed Ctrl+S to save it, the editor automatically added the necessary #include file at the top. This is the mark of an IDE that actually knows the language it is editing.

The closest i've seen elsewhere is QtCreator littering the code with red error messages about the unknown symbol while i'm typing the code together with a lightbulb next to the line with it which, if i click on, it adds the #include.

From a technical perspective the ability seems to be there, it just doesn't feel as smooth and seamless. Not to mention all these errors that appear while i'm typing make me anxious - like, STFU, i know the code is wrong, i'll fix it once i finish typing this part :-P.

Re:Delphi still exists and is actively developed by Tarucho on Thursday August 18, 2022 @10:58AM (#32510583)
In the 90´s, early 00s, when it was used for troyans and malware a lot.
Re:Delphi still exists and is actively developed by jollyllama on Thursday August 18, 2022 @09:56AM (#32509648)
I think the .net ecosystem, as a higher level language, was probably less fit for the task.
Re:Delphi still exists and is actively developed by rndgermandude on Thursday August 18, 2022 @11:05AM (#32510666)
When I started using C++Builder (and some Delphi), .net did not exist
Re:Delphi still exists and is actively developed by bikingbismuth on Thursday August 18, 2022 @10:15AM (#32509910)
Not sure why, but when I worked for a large fintech a couple years ago, we regularly saw banking Trojans built in Delphi.
Re:Delphi still exists and is actively developed by jollyllama on Thursday August 18, 2022 @10:35AM (#32510242)
Yes, that's exactly the kind of thing I was talking about.