* Posts by fg_swe

1308 publicly visible posts • joined 20 Nov 2021

It's 2023 and memory overwrite bugs are not just a thing, they're still number one

fg_swe Silver badge

Memory Errors: 70% of CVE

See this http://sappeur.ddnss.de/Sappeur_Cyber_Security.pdf

fg_swe Silver badge

ALGOL Mainframes

These machines are (mostly) implemented in memory safe Algol, including kernel code.

Maybe someone from Fujitsu/ICL or Burroughs could comment on the practical difference to Unix security ?

If I read Mr Hoare correctly, Algol memory safety was very useful.

fg_swe Silver badge

FALSE: Rust isn't the panacea

I have some experience creating http servers in both C++ and Sappeur. I can assure you the number of exceptions from memory safety in the Sappeur version is very small( "inline_cpp" 4).

http://gauss.ddnss.de/

There are about 60 "inline_cpp" in TCP.ai, System.ai and Math.ai, but those are "system libraries" which finally call the POSIX functions. These system libraries are supposed to be eventually "perfect" from a lot of re-use(read: debugging) in different projects.

So probably 90% of the gauss web server code is memory-safe. In my experience, this web server runs extremely stable(as compared to an equivalent C++ version). Of course it had deterministic crashes during development, but that is exactly what we want: immediate, localized crash upon programming error. No long-running, covert corruption of memory.

So, even if your code is "just 90% memory safe", it is a huge progress from "100% memory unsafe". Each and every method implemented in a memory-safe way is shoring up safety and security.

fg_swe Silver badge

No

It is very hard/impossible to reproduce the safety assurances of a proper memory safe language in hardware mechanisms. Also, it is NOT just about separating code and data, as function pointers and vtables are effectively a mix of both.

ARM tries to do some of this with their fat pointers, but it looks very expensive to me.

For example, in Sappeur you must declare multithreaded objects as such, in order to ensure automatic locking. How would you do this in hardware ?

fg_swe Silver badge

RAII

Can be used in Sappeur and Rust.

fg_swe Silver badge

GC - NO

There exist quite a few non-GC (mark+sweep) languages, which are memory-safe.

Rust, Swift, Sappeur (mine) to name a few.

It must be said that the software engineer must break circular references in non-GC languages or you have a memory leak(which is usually NOT exploitable for subversion, but for a DOS attack)

fg_swe Silver badge

Sir Tony Hoare on Index Errors

Listen to this

https://www.infoq.com/presentations/Null-References-The-Billion-Dollar-Mistake-Tony-Hoare/

and you will see that Index Errors are an OPP (Old Persistent Problem). The FORTRAN people had this decades ago.

We have index errors in C, C++, Java, C# programs today, we must assume.

Software engineer's understanding of their own "perfection" is wrong. Homo Sapiens is not a machine, but a highly capable, error-prone being.

Machines should be tolerant against human mistake as much as possible. C and C++ are good for Code Generators, because machines will eventually be "perfect".

We were already much better with memory-safe ALGOL, but C+Unix won out for cheapness.

US cyber ambassador says China knows how to steal its way to dominance of cloud and AI

fg_swe Silver badge

Nr 1 Right, Nr 2 Wrong

Indeed it is very dangerous to be dependent on a military-political adversary/enemy for your communications system. They can turn it off any time and only they have the expertise to turn it on again. Also they can and will use it as a spying and person-tracking system. A clear national security issue, given that the Chicoms can roam freely inside NATO.

Details regarding terminology here: https://www.bundeswehr.de/de/organisation/luftwaffe/team-luftwaffe-auf-uebung/rapid-pacific-teil-4-die-besuche

Mr Finck is wrong on AI machines, though: only trivial code can be properly coded by ChatGPT. All the tough problems still require meatsacks to do the heavy lifting. I asked ChatGPT to code an Enigma cipher machine and it failed spectacularly. Then there are AI controlled Tesla cars which crash into parked trucks...

Florida man insists he didn't violate the law by keeping Top Secret docs

fg_swe Silver badge

B0ll0cks

Maddie de Garay is a case of severe adverse effects which has been systematically suppressed, in order to achieve a faux "successful trial".

It demonstrates that our (NATO+SK+JP+ANZAC) world is highly corrupt in the highest layers. That does not mean Moscow and Beijing are better. The light seems to shine in Africa, where they already resist the Drug Oligarchs - for good reasons.

fg_swe Silver badge

BIDEN And Garage Papers

I recall that BIDEN hat Top Secret papers stored in his garage. When will he show up in court ? If not, where is the fair application of justice ?

fg_swe Silver badge

President And Classified Information

It is the job of the president to handle classified information in order to make proper decisions. He needs access to secret papers. Surely he should have been more careful and diligent. Is it part of your job to handle as much classified papers ?

Mr Trump must be held to the same standards as other presidents or secretaries, otherwise it stinks like a soviet political prosecution.

It looks like they are grasping for straws to avoid him running for president.

fg_swe Silver badge

Substance

Given your substance-less reply, I would like to share this with you

https://rumble.com/vqwdp6-how-many-more-adverse-effects-have-been-covered-up-during-the-trials-maddie.html

Not sure who did this, was it Trump+Biden or just Biden ? We know Biden called the drug "safe".

fg_swe Silver badge

They Have You For A Ride

Compared to what the Clintons did (Emailserver in the bathroom, open for foreign hacking, having sex with the intern, abusing several women, visiting Paedo Island),

Compared to what BIDEN is doing (collecting bribes from foreign sources through his son, covering up drug approval crimes),

this Trumpish behaviour is benign. A clear attempt to take out an inconvenient politician. He is held to the highest standards while his opposition is basically immune to anything.

This is going to backfire very badly. Unequal application of justice is a hallmark of tyrannies. Welcome to the Soviet States of America !

Cisco: Don't use 'blind spot' – and do use 'feed two birds with one scone'

fg_swe Silver badge

BlackRock

They now demand this stuff from the companies they own stock of.

fg_swe Silver badge

Well

...being fired by a Woke Corporation should be worn as a Medal Of Honor !

fg_swe Silver badge

Boycott The Language Marxists-Nazis

We know what happens if you give in to these folks: https://en.wikipedia.org/wiki/Felix_Dzerzhinsky

First they come for your language, then for your freedom and finally for your life.

And no, it does not matter that they have teamed up with Big Business and Big Money. Actually, Marxism is a London Invention !

India bans open source messaging apps for security reasons. FOSS community says good luck

fg_swe Silver badge

The Other Book

..calls for deadly violence on whoever does not subscribe to said book. Ask the Armenians or the Copts in Egypt for details.

Of course Russia's ex-space boss doubts US set foot on the Moon

fg_swe Silver badge

Errata

"messing with opponents mind"

fg_swe Silver badge

Re: Wikipedia

Indeed. What is the "mil tech" of a journalist ? They actually all follow the expertise of their top, virus-phobic man.

They now have an entire cadre of these people and if BEZMENOV is to be believed, this has always been the main occupation of Moscow elite. And if you think about it, there is a certain elegance in messing without opponents mind instead of the hard work of weapons R+D and manufacturing. Also, it is the least deadly-risky form of warfare.

fg_swe Silver badge

Son of Father

Looks like his father was the real deal:

https://ru.wikipedia.org/wiki/%D0%A0%D0%BE%D0%B3%D0%BE%D0%B7%D0%B8%D0%BD,_%D0%9E%D0%BB%D0%B5%D0%B3_%D0%9A%D0%BE%D0%BD%D1%81%D1%82%D0%B0%D0%BD%D1%82%D0%B8%D0%BD%D0%BE%D0%B2%D0%B8%D1%87

fg_swe Silver badge

Wikipedia

"Rogozin was born in Moscow to the family of a Soviet military scientist. He graduated from Moscow State University in 1986 with a degree in journalism, and in 1988 he graduated from the University of Marxism–Leninism under the Moscow City Committee of the CPSU with a degree in economics.[2]

His thesis on "Philosophy and Theory of Wars" earned him a Doctor of Philosophy while a Doctor of Technical Sciences was awarded him in the specialty "weapons theory, military-technical policy, weapons systems". Both were earned while he was professionally engaged in politics."

This sounds like he never build anything real, but prolly took part in the bullshit generation out of Piter. BS carried them a long time, but no longer. If only they could call it a day and focus again on BS instead of kinetics and cybernetics.

fg_swe Silver badge

Russian Farming

We must admit Putin did one thing right: now Russia is again one of the top grain producers, as they privatized the insane communist system to a large degree. During communism they had to beg their most powerful opponents for grain, now they are one of the largest exporters !

If only he could see his good work in economics and retire into sunset...

fg_swe Silver badge

Re: Rogozin isn't well

Or maybe he is just an incompetent crony who is in retirement.

fg_swe Silver badge

Very Simple

The Americans ran out of German engineers, who did Space Flight.

European companies form space jam to secure comms sovereignty with satellites

fg_swe Silver badge

Looking On the Globe And At Mr Breton

1.) Territory is even worse than thought

2.) Apparently french education is worse than thought: "Im Jahr 1979 erlangte Thierry Breton einen Master an der Supélec (École Supérieure d‘Éléctricité) in Elektrotechnik und Informatik und ist ein Absolvent des „Institut des hautes études de défense nationale“.[2]"

Looks like the Gallics still need German defence support ever since since Karl Martell, the frankish troop leader.

fg_swe Silver badge

Lower Levels: EGRETT Relays

Tactical high speed links could be provided by EGRETT relays using 100..10000Mhz links. EGRETT would be much harder to disable as they will operate at a standoff of 400kms from the frontline. Polar satellites will all fly over the north pole, where Russia can freely operate.

fg_swe Silver badge

VVS Will Rejoice

All they need to do is to fly their Mig31+ASAT to the North Pole and pick the Sats off one by one.

fg_swe Silver badge

General Staff Airborne Command Post - GESAC

+ Airbus A380

+HF radios

+VHF, UHF, Microwave radios

+Common European Cipher CEC

+manned by the top generals from Spain, Italy, France, Germany, Britain, Poland, Netherlands, Sweden and support officers from said nations

+operating as required, but only in takeoff-ready standby/training as long as no external threats existent

fg_swe Silver badge

Survivable High Bandwidth Communications Relay

The Grob EGRETT can fly at 16000 meters and provide e.g. a high speed microwave link from Berlin to Paris, London to Paris. Two EGRETTs would be needed for Madrid to Paris or from Rome to Berlin

https://en.wikipedia.org/wiki/Grob_G_520

As I wrote before, if only the muppets knew what they already have.

fg_swe Silver badge

Narrowband Communications Style

Of course leaders on all levels must accept and learn how to communicate with other leaders using text-chat-style interaction. HF radios cannot support video or even voice communication on a large scale, but this is not really necessary. C2 for huge operations was executed with shortwave, Morse telegrams in the past.

In terms of communications security, the less bits you need to transmit, the better.

fg_swe Silver badge

Re: Better Approach: Shortwave Spread Spectrum Radios

https://en.wikipedia.org/wiki/Bowman_(communications_system)

https://www.thalesgroup.com/en/markets/defence-and-security/radio-communications/land-communications/tactical-radios/hf-3000

fg_swe Silver badge

Better Approach: Shortwave Spread Spectrum Radios

Why:

+ a network of shortwave radio stations cannot be taken out easily, unlike satellites which are easy to spot and attacked by ASAT weapons like the SM3

+ low cost

+ spread spectrum is hard to locate and hard to jam

+ much smaller cybernetic attack surface

Rohde+Schwarz and Thales have spread spectrum shortwave radios readily available. If only the leaders knew what was at their disposal, instead of being fooled by commercial interests who want to live off the teat of state.

Also, given the Russian threat, there must be Common European Action. A centrally controlled air defence wargame, including all west European air forces acting as single power. No more Divide Et Impera by the Kremlin !

Telcos need another $3B in Uncle Sam's cash to remove Chinese network kit, says FCC

fg_swe Silver badge

Defence is always more or less collectivist in nature. The world is a bit more complex than Austrian Economics can explain.

fg_swe Silver badge

As Opposed To

"being held like cattle without food an water, during an imagined 'virus' crisis" ?

fg_swe Silver badge

Control of Development Engineers

Whoever controls the development engineers controls the number and quality of backdoors. Backdoors can be "explained" as programming errors. He also controls which security holes will be fixed, which not. He further controls whether a crashed system can be restarted or not.

The Americans are right, it is a serious threat and it just shows how childishly naive the Germans as a whole are. They can be so naive, because they know they can always call in Uncle Sam.

fg_swe Silver badge

War Even More Expensive

China has global ambitions and they are willing to use force to get what they desire. Don't be a fool.

fg_swe Silver badge

Well

German politicians are dumb enough to let defence deteriorate to the point they must cry for Uncle Sam whenever Moscow or Ankara utters a threat. A case of childish pacifism, often nurtured by communist leanings.

They will first lecture and then panic. Less rationality than Kindergarten kids.

fg_swe Silver badge

We

...from Piter, eh ?

Modular finds its Mojo, a Python superset with C-level speed

fg_swe Silver badge

Re: Generic Programming Using Standard Tools

I got this idea when working for d'Assault on CATIA. They use cfront macros for generic programming. It works rather well for CATIA and its 2000 odd modules. m4 is superior to cfront.

fg_swe Silver badge

Generic Programming Using Standard Tools

Use a proper Macro Processor such as m4 to define generic code and then generate instances for different types. Here is an example of a generic Sappeur quicksort algorithm:

http://sappeur.ddnss.de/quickSort.ad.m4.txt

http://sappeur.ddnss.de/quickSort.ai.m4.txt

http://sappeur.ddnss.de/SortUnterstuetzer.ad.txt

http://sappeur.ddnss.de/SortUnterstuetzer.ai.txt

The C++ template system is mostly an unnecessarily complex/hard to debug macro system. The purpose seems to be to scare off newcomers with a load of hard-to-decipher error messages upon a single mistake.

So, get rid of templates, get rid of dynamic typing and employ a proper macro processor for generic code. Write the instantiated code on harddisk, so that the programmer can look at it.

fg_swe Silver badge

Static Typing: Safety, Security and Performance

Dynamic typing has been a Dangerous Thing since its beginning. It can be safely used for toy projects without real-world relevance. E.g. adding up the results of the local tennis club or the like. As soon as cybernetic attackers are a concern, do not use it !

Also, if you need performance, dynamic typing requires fancy optimizers, which are themselves security problems.

Essentially, dynamic typing is Fast Food Programming. Quick results at long term cost.

Here is my shot at strong typing and memory safety: http://sappeur.ddnss.de/

fg_swe Silver badge

FALSE

See here why C and C++ have systemic problems when used by real-world, fallible folks: http://sappeur.ddnss.de/SappeurCompared.html

ChatGPT is coming for your jobs – the terrible ones, at least

fg_swe Silver badge

Been There, Done That

1% of population are farmers who feed 100%. If you add essential supplies for the farmers, it might be 3% of population who ensure the other 97% can do funny stuff such as arts, car production, traveling, music, administration, policing, firefighting, producing phones, being warriors, building weapons for wars that hopefully never happen and so on.

The Money System seems highly effective in motivating the 97% to work hard on their "superfluous" activities.

That description might be a bit crude, but you get the idea.

The REAL risk is that semi criminal entrepreneurs from the 97% will build+produce biologically dangerous things to get over their idleness. Cocaine, Heroine, unproven medical contraptions.

fg_swe Silver badge

Well

Customers expect 100% correct advice from the help system. ChatGPT will be 99% right and will emit false information 1% of time. So what is the value of an AI customer help system ? Maybe it can help your helpdeskers to find a clue and then confirm it by checking the documentation manually ?

fg_swe Silver badge

Countermeasure

Install TOR and set the Exit Router to US:

https://www.optimizationcore.com/security/set-tor-exit-node-tor-browser-country-code-specific-node/

Costs nothing except a bit of config file meddling. It will prolly connect to ChatGPT even without a change of the config file.

fg_swe Silver badge

Euro-Trottel

This is how Italy ensures it continues to become poorer and poorer. Ban the new toys from America and keep your people in a state of backwardness. I guess this assures a supply of low skilled servants for the Italian elite, who will use a VPN to learn about ChatGPT.

Yes, ChatGPT will collect lots of data. So does Google, Facebook, Twitter, WhatsApp and so on. Never feed it with anything sensitive. Don't think it is your electronic counselor; find friends over a Cappucino !

Italians have the choice to use qwant, DeltaChat, GMX, hetzner, an RPI file+http server instead. GNUpg, courtesy of the German government to encrypt messages to be sent via the cr4ppy email servers.