Do It by Code
54 subscribers
710 photos
99 videos
14 files
1.24K links
We uhhhhh... do things by coding them.
Download Telegram
Do It by Code via @wiki
https://en.wikipedia.org/wiki/Rootkit
#روت‌کیت
وقتی یه نرم افزاری (یه Process) روی یه سیستم عامل ران میشه (حالا چه ویندوز باشه، چه لینوکس باشه، چه اندروید باشه و ...)؛ یه سری دسترسی های خاص خودش رو داره

دسترسی هایی که یه Process میتونه داشته باشه، کاملا بستگی داره به اون یوزری که اون پروسز رو استارت کرده

بطور مثال، اگه شما یه پروسز رو با یوزر عادی سیستمتون استارت کنید، منطقا خودش به تنهایی دسترسی پاک کردن فایل های سیستمی مهم و یا دستکاری رجیستری سیستم رو نداره (مثلا وقتی میبینین میخواین یه installer رو باز کنین، ازتون اجازه ی ادمین میخواد.‌ چون میخواد به رجیستری دسترسی پیدا کنه)

حالا روت کیت چیه؟ به یه ابزاری گفته میشه (که معمولا بصورت غیر مجاز، با استفاده از باگ ها و vulnerability های سیستم)، یکاری میکنه که پروسزی که با یه یوزر عادی ران میشه، دسترسی ادمین (روت) بگیره.

برای تست امنیت سیستم عامل (و نرم افزار های مختلف مثل sudo) هم خیلی استفاده داره.
Do It by Code
How an empty S3 bucket can make your AWS bill explode Article, Comments
خلاصه ی این داستان:
AWS = Amazon Web Services
Amazon S3 = Amazon Simple Storage Service

یه سرویس storage ئه که آمازون ارائه میده.
داخلش، یه چیزی وجود داره به اسم bucket که شما میتونین دیتا رو داخلش بریزین

و به اندازه ی دیتایی که داخلش میریزین، همون قدر هم ازتون پول میگیره
به این مدل گفته میشه:
pay-as-you-go (PAYG)
ینی اول مصرف میکنی، بعد اخر ماه (مثلا) به اندازه ی مصرفیت، پولش رو پرداخت میکنی

حالا چه کسی میتونه روی این bucket ها دیتا آپلود کنه؟
خب مشخصا فقط شما

ولی یه باگی که آمازون پیدا کرده، اینه که Unauthorized Request ها رو هم میاره جزو اینا حساب میکنه =))
یعنی فکر کنین یکی رمز حساب کاربری شما رو نداره، ولی با همین درخواست فرستادن الکی باعث میشه که شما فیش آخر ماهتون خیلی بیشتر بشه!

به این عمل توی دنیای برنامه نویسی گفته میشه:
Denial of Wallet Amplification Attack

یعنی طرف آخر ماه باید کلی پول پرداخت کنه برای چیزی که حتی استفاده هم نکرده!
Online Cryptography Course by Dan Boneh
Article, Comments
Recovering the master key from RAM to break Android's file-based encryption (2021)
Article, Comments

> Apple solves the problem in hardware by streaming the persistent storage data through dedicated silicon. Not only is this extremely fast, it guards the key. For the Intel versions of Mac, this was done in the T2 coprocessor.

>> The flipside of this is availability. Your T2 coprocessor is now permanently tied to your data. This means if the chip dies, there's no recovery unless you have a backup encrypted with a separate key (with its own confidentiality/availability tradeoff).
(And if anything else on your motherboard dies, Apple's official answer is "you're f*cked", since they refuse to do board-level repair.)
This media is not supported in your browser
VIEW IN TELEGRAM
🔥An update for Sora

Now the neural network can change individual objects in the generated video based on a text request.

True, it is still far from ideal. In the example, not only the main character has changed, but also other objects that should have remained unchanged.

#AI
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
Sora competitor appeared in China

The model is called Vidu, it allows you to generate 16-second videos with a resolution of 1080 from prompts.

The project uses the Universal Vision Transformer (U-ViT) architecture, which combines the best of the Diffusion and Transformer models.

The lag behind Sora is visible in some places, but even if everything turns out like in these videos, it’s still a high bar.

#AI
This media is not supported in your browser
VIEW IN TELEGRAM
Full-fledged game locations from a short space - this is how the combo of Stable Diffusion 1.5, ControlNet, TripoSR and three.js works.

You just run around the map and create textures with text, magic. The developer promises to share the code soon.

In a couple of more years, gamedev courses will teach effective and optimized prompts for neural networks.

Source
#AI
1