logs archiveIRC Archive / Undernet / #asm / 2006 / September / 7 / 1
veins
(Action) is away
Ingersol
morning
xum
bleep mo-fo bleep
phr_
re ppl
anyone here worked with smart card and apdu ?
havenr
curious
are self-encrypting polymorphic viruses generally written in asm?
cause sure as hell its not in C or VB
dbtid
yeah, afaik, it's assembly
Chiu_Lee
they are actually written in C#...
havenr
oh
but isnt it easier getting thopse done in VB
rather isnt it easier doing it in C
dbtid
how would you have vb modify the code
         

havenr
alright cut out vb
dbtid
it could be done in c
havenr
what about C?
SantaClaws
hy all
dbtid
vb would probably be pretty ugly
SantaClaws
anyone seen Inode recently?
dbtid
now, the important question: why are you asking havenr ?
havenr
oh curious
its interesting to learn up things like that
we need extensions to C++ to make self-modifying code easier to do
dbtid
c-bot: seen inode
c-bot
inode!~Inode@Inode.users.undernet.org was last seen in #asm on Monday, 04 September 2006, 10:14:21
SantaClaws
thanks dbtid
havenr
imm thinking its even possible in haskel or SML
now writing something like that in C would be a challenge
cause none's done it and i could get a few marks extra i guess
dbtid if i understand correctly in C you can't write self-modifying code or can you?
unless you write a complier as part of the virus
so you gotta mix C with assembly
Chiu_Lee
actually, with the proper knowledge, one could also do it in delphi for example. modifying the proces memory is not that hard and same goes for the exe. of course, that proper knowledge involves a lot. the "can" is only limited by the coders capabilities.
SantaClaws
why do you have to mix it when C has an inline assembler?
dbtid
it's not even that difficult
havenr
i just want to see how C does it
dbtid
you can use arrays of hex bytes and coerce the compiler to do various things
havenr
cause it simply cant make self -modifying code without what i mentioned
dbtid
but, i'm off this topic
SantaClaws
sorry to mettle but havenr what do you mean by self-modyfing code? what are you tryng to make?
         

havenr
dbtid right but thats not what im talking about
im refering to something along the lines of a program that modifies itself during execution
if it were a compiled language
then you can't write the things to change to in terms of that language
since during execution, how do you compile the new things?
SantaClaws
havenr i'm very curious what's the point of making a self modifiyng program?
Chiu_Lee
you save it to disc, call the compiler, and load the output. worse case scenario.
havenr
is thre a point to making a virus ? no, personally its for my project pretty much it if not some learning
also in interpreted languages with reflexivity like lisp it's trivial, since the program can syntactially edit itself
SantaClaws
you're asking on #asm how to make a virus?
damn... when i asked that they banned my ass..
life ain't fair :(
havenr
i didnt come here " asking how to make a virus"
scroll up read properly
there's plenty opf info if i wanted to know how to make one
Chiu_Lee
it never was. and beside tca ain't around no more ;) haven't seen "evil" around for some time.
havenr
yeah
TCA is it for such topics
(Action) misses tca
typical hacker
he hasnt been on here for a long time has he
dbtid
c-bot seen tca
c-bot
Sorry, I have never met tca.
dbtid
so it's been a long time
havenr
indeed
dbtid
you can call him
but i doubt he'll answer
but you'll have to find his phone number
it's easier than you might think, if you knew him at all....
havenr
i did
dbtid
yeah?
havenr
do i need to get started with pascal to proove i knew well enough?
oh yeah
and ubixos?
oh wait want more?
BeFS?
not good enough?
dbtid
you can drop the 'tude
i don't give a rat's ass...
havenr
well drop the attitude then
dbtid
bye
moron
i hate people like that
SantaClaws
yep.. a total idiot
dbtid
oh, he's probably not a total idiot, just simply socially inept
SantaClaws
this kinda people shouldn't be allowed on IRC
dbtid
heh that's mostly what is on irc...
SantaClaws
The most genius inventions of man kind are always used by the most primitive
dbtid
heh
InnerSilence
Indeed.
SantaClaws
by the way.. how can I acces the hardware functions of the video board via C or asm
?
anyone?
(Action) has been dissappointed by #asm
(Action) hopes he didn't misspell dissappointed
Chiu_Lee
hopes in vain
SantaClaws
:))
InnerSilence
SantaClaws I think in asm it's int h or something like that
SantaClaws
that's for initing the video mode
mov ah,3h
mov ah,13h*
int 10h
but i was asking about more advanced things
:(
InnerSilence
Oh I see, google then
SantaClaws
if googled enough..
it seems no one can help me..
i'll just have to make my 3d-engine non-hardware accelerated :(
Deathmaster
LOL santa. why do you need to access the video card functions like that? are you trying to make your own operating system or some sort of application that boots from a cd or something?
SantaClaws
i'm tryng to make a 3d engine from scrap
acctually i already made a 3d engine from scrap
Deathmaster
you didn't answer my question
SantaClaws
a very basic 3d engine
the thing is I wan't 3d acceleration
and there ain't no direct3d in dos
Deathmaster
is your applications supposed to run under windows or some other OS or is it os-independent, meaning that it boots from some device and the os part you do it yourself
SantaClaws
DOS
that's the Os
Deathmaster
bad, BAD idea
SantaClaws
actually the idea is very original
Deathmaster
you will not be able to make it work for every video card
SantaClaws
windows sucks
Deathmaster
you will have to write drivers for each and every card
SantaClaws
it already works for every video card
Deathmaster
no, windows doesn't suck
LOL i ment with hardware acceleration
SantaClaws
no i will not have to write any drivers
oh...
yhea.. that maybe
Deathmaster
well that was the point, right?
to use hardware acceleration... otherwise why bother asking?
SantaClaws
yes
that was the point
but i still don't know where to start
Deathmaster
so you eighter stick to msdos & no hal, or at least have hal for a video card or two for which you'll have to write custom drivers which is not an easy thing to do
SantaClaws
why do I have to write custom drivers?
Deathmaster
or go to some other operating system like windows which already has support for everything you need via directx
SantaClaws
f*ck windows
Deathmaster
jesus christ, video card are not the same, they don't have the same interface, you simply comunicate in different ways
some may be similar
but only a few
SantaClaws
yes but I was thinking there may be some API's
Deathmaster
and if you want to execute your application on other computers except your own then you'll have to write drivers, there's no way around it
api??? what api???
api in msdos for video cards ? =))
SantaClaws
why not?
Deathmaster
there's no such thing
SantaClaws
there are api's for accesing extended memory
Deathmaster
first of all those are not api's as we now define them, those are some functions provided via some custom software interrupts
and msdos only provides some basic functions
1 2 next »