Guest Kovalski Posted June 16, 2012 Report Posted June 16, 2012 (edited) server: 94.249.208.71login rstpass rstfaceti si voi un security audit si spuneti aici cam ce ar trebui sa schimb.target:obtain uid=0 gid=0 groups=0schimbari majorecompromitere mysql / apacheescaladare privilegiiinstalare rootkitetc...daca ati reusit, schimbati asta: Secure Edited June 16, 2012 by ps-axl Quote
Guest Kovalski Posted June 16, 2012 Report Posted June 16, 2012 ia-o cum vrei competitia este pentru a vedea daca am securizat bine.si tot odata ma si ajutati sa il perfectionez Quote
PingLord Posted June 16, 2012 Report Posted June 16, 2012 Vreau si eu un alt user cu aceleasi permisiuni ca mi se sterge munca care o depun Quote
Guest Kovalski Posted June 16, 2012 Report Posted June 16, 2012 fa-ti un folder cu numele tau si nu o sa se bage nimeni pesteby the way am vazut ca esti pe calea cea buna frumos Quote
PingLord Posted June 16, 2012 Report Posted June 16, 2012 Iar mi s-a golit directoru...pfff..ce oameni rai Quote
Guest Kovalski Posted June 16, 2012 Report Posted June 16, 2012 vad ca esti cel mai bun pana acum, daca tot ti se goleste folderul fa-ti un folder ascuns pe undeva..eu nu le sterg nu stiu cine naiba ti-a sters jucariile Quote
PingLord Posted June 16, 2012 Report Posted June 16, 2012 Lasa-l si tu deschis pana ajung acasa de la birou te rog.E chiar un challenge foarte tare Quote
pyth0n3 Posted June 16, 2012 Report Posted June 16, 2012 Iar mi s-a golit directoru...pfff..ce oameni raiAm creat 2 executabile Unul blocheaza fisierul iar al doilea il deblocheaza, trebuie rulat cu drepturi administrativeUn fisier blocat nu poate fi sters si nici modificat de catre nimeni, nici macar de catre root USAGE: UnBlock <filename>USAGE: Block <filename>Va arata un 0 daca operatiunea a fost executata sau nimic in momentul in care operatiunea nu a fost executata-----BEGIN PGP SIGNED MESSAGE-----Hash: SHA256begin 644 Block-Unblock.tar.gzM'XL(".:HW$\``T)L;V-K+55N8FQO8VLN=&%R`.U8#VQ3QQF_9YP06F#.GXZTMI<S:`@TK.'%("*!!FW\0(/Q-8`54WAS[)7;K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<8ET)%,N6/9$]MYPSPM/QO187!_SJK*Y#_K:ZL-/G?^R'3\;^OWP?^-PX=XP+_J]7!N1.?@O]-M0GL2VI+_H_QOU>:<#6/__&/COTZD=U[+6_:W"SF_^*[)_]X=_K>;\;^#C/^-M,?YWB/&_<<;_#D_._\:FYW]?T/C?(P;_.RCPOS&!_QT2^-^XP/\.WWW^-\'XM7[QLG1[5^-^1*?C?).5_L5E3I_QOXJ/XW\0D_&_B8^=_W[QW_&_<X'_CV?*_M31_!_R[-FO]E!_#M#/#]XX![/V8..&ERP"8'3$P.^/^9`]XTB1[/`0_U46YWM.@Y8NQ-FP0'C83>2!0>L<[O3<<#:73,+#ECG=J?C@/&=VYL%!XQ<S$@6'#">MYHDL.>!$EASPY2PYX-XL.>`QJ%Q@<L#4_C0<\)#``<<%#GA$`3`@><%#C@M#.=+.>!>@0,>,3#E@!-WR`''!0YX1."`$]-PP`F!`T[>(0<\+'#`0P('G+@#M#O@D%Q_D@'_+S0\YW[<$_"X7;^2`/^#BB1QPCL"!%@L<<*G``9<)G.\:`6\7M..!=`@<L"_:^+.!O"!SP]SG.%SG@GW(<+7+`)Z4,AXX<\#F!`WY=RJP7Y'0OM`A[C\&7!_GN"_DV!`RX4..#B3SX'7&&2P"8);(HIIIABBBFFF&***::88HHIGIIABBBFFF&***::88HHIIIABBBFFF&***::8<C?EOV.41W``4````end-----BEGIN PGP SIGNATURE-----Version: GnuPG v1.4.10 (GNU/Linux)iF4EAREIAAYFAk/cqe8ACgkQiOFy19RY1SDaaQD9FftXKinTt+m1onug/eKSCCy5vU1K19jlEuS4qbJDU+oBAL57hjkCXiHLlBNRZcC99sZrLoqnCakVRFfkptCky3B/=lvYA-----END PGP SIGNATURE----- Quote
pyth0n3 Posted June 16, 2012 Report Posted June 16, 2012 (edited) Ca executabilele sa poata fi folosite de catre orice user se pot atribui urmatoarele permisiichmod u+s Blockchmod u+s UnBlockEvident daca un user detine ambele executabile va putea debloca si bloca in acelasi timpAs sugerii sa fie pus doar Block la dispozitia user-ului rst asadar o data ce o persoana a terminat un assessment poate bloca fisierul care poate fi deblocat doar de persoana care detine UnBlock .Note: O data blocat fisierul nu poate fi nici macar modificat si nici sters oricare ar fi userul care incearca acest lucru. Edited June 16, 2012 by pyth0n3 Quote
Flubber Posted June 17, 2012 Report Posted June 17, 2012 Am creat 2 executabile Unul blocheaza fisierul iar al doilea il deblocheaza, trebuie rulat cu drepturi administrativeUn fisier blocat nu poate fi sters si nici modificat de catre nimeni, nici macar de catre root USAGE: UnBlock <filename>USAGE: Block <filename>Va arata un 0 daca operatiunea a fost executata sau nimic in momentul in care operatiunea nu a fost executata[...]Vreo sansa sa imparti codul sursa si cu noi (*whisper*sau macar prin private message hehe*whisper*)? Quote
aelius Posted June 17, 2012 Report Posted June 17, 2012 Ba futu-va in cristos de labari, care va bateti joc ma ?rst@ps-axl:~$ history |grep perl 476 perl 486 perl udp.pl 487 perl udp.pl 86.106.63.50 25255 488 perl udp.pl 86.106.63.50 25255 5000 489 perl -c udp.pl 86.106.63.50 25255 5000 490 perl -e udp.pl 86.106.63.50 25255 5000 496 perl udp.pl 86.106.63.50 25255 5000 507 history |grep perlrst@ps-axl:~$ Quote
aelius Posted June 17, 2012 Report Posted June 17, 2012 (edited) Vreo sansa sa imparti codul sursa si cu noi (*whisper*sau macar prin private message hehe*whisper*)?Pe linux ai chattr. Pe FreeBSD poti folosi chflags (in functie de securelevel, doar in single mai stergi ceva, sau reboot cu alt securelevel)"A file with the `i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no data can be written to the file. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute."idsplus ~ # touch rstcenteridsplus ~ # chattr +i rstcenter idsplus ~ # ls -la rstcenter -rw-r--r-- 1 root root 0 Jun 17 19:12 rstcenteridsplus ~ # iduid=0(root) gid=0(root) groups=0(root)idsplus ~ # rm rstcenter rm: remove regular empty file `rstcenter'? yesrm: cannot remove `rstcenter': Operation not permittedidsplus ~ # chattr -i rstcenter idsplus ~ # rm rstcenter rm: remove regular empty file `rstcenter'? yesidsplus ~ # Edited June 17, 2012 by aelius Quote
hades Posted June 17, 2012 Report Posted June 17, 2012 stab-urile astea din 2012 is al dracu. ;d Quote
Flubber Posted June 17, 2012 Report Posted June 17, 2012 Pe linux ai chattr. Pe FreeBSD poti folosi chflags (in functie de securelevel, doar in single mai stergi ceva, sau reboot cu alt securelevel)"A file with the `i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no data can be written to the file. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute."idsplus ~ # touch rstcenteridsplus ~ # chattr +i rstcenter idsplus ~ # ls -la rstcenter -rw-r--r-- 1 root root 0 Jun 17 19:12 rstcenteridsplus ~ # iduid=0(root) gid=0(root) groups=0(root)idsplus ~ # rm rstcenter rm: remove regular empty file `rstcenter'? yesrm: cannot remove `rstcenter': Operation not permittedidsplus ~ # chattr -i rstcenter idsplus ~ # rm rstcenter rm: remove regular empty file `rstcenter'? yesidsplus ~ # Mersi frumos, insa, inca mai vreau sa vad sursa ...Da, curiozitatea moare ultima. Quote
pyth0n3 Posted June 17, 2012 Report Posted June 17, 2012 M-am jucat cu aceleasi flag-uri doar ca am facut un call divers, exista multe alte flag-uri cu care te poti juca pentru a modifica atributiile unui fisier. Quote